- 积分
- 2395
- 明经币
- 个
- 注册时间
- 2022-4-4
- 在线时间
- 小时
- 威望
-
- 金钱
- 个
- 贡献
-
- 激情
-
|
- #pragma once
- //
- // (C) Copyright 2005-2024 by Graebert GmbH.
- //
- // Permission to use, copy, modify, and distribute this software in
- // object code form for any purpose and without fee is hereby granted,
- // provided that the above copyright notice appears in all copies and
- // that both that copyright notice and the limited warranty and
- // restricted rights notice below appear in all supporting
- // documentation.
- //
- // GRAEBERT PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
- // GRAEBERT SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
- // MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. GRAEBERT GMBH
- // DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
- // UNINTERRUPTED OR ERROR FREE.
- #include <gegblabb.h>
- class AcGeEntity2d;
- class AcGeEntity3d;
- class AcGeImpPlanarEnt;
- class AcGePoint3d;
- class AcGeVector3d;
- class AcGeEntity3dImpl;
- class AcGeImpEntity3d
- {
- public:
- GE_DLLEXPIMPORT AcGeImpEntity3d(AcGeImpEntity3d const&);
- GE_DLLEXPIMPORT AcGeImpEntity3d(void);
- GE_DLLEXPIMPORT operator AcGeEntity3d(void)const;
- GE_DLLEXPIMPORT AcGeEntity2d* entity2d(Adesk::Boolean)const;
- GE_DLLEXPIMPORT AcGeEntity3d* entity3d(Adesk::Boolean)const;
- GE_DLLEXPIMPORT AcGeImpEntity3d& operator=(AcGeImpEntity3d const&);
- GE_DLLEXPIMPORT AcGeImpEntity3d& setEntity2d(AcGeEntity2d*, AcGe::EntityId);
- GE_DLLEXPIMPORT AcGeImpEntity3d& setEntity3d(AcGeEntity3d*, AcGe::EntityId);
- GE_DLLEXPIMPORT AcGe::EntityId entityType(void)const;
- GE_DLLEXPIMPORT Adesk::Boolean operator!=(AcGeImpEntity3d const&)const;
- GE_DLLEXPIMPORT Adesk::Boolean operator==(AcGeImpEntity3d const&)const;
- GE_DLLEXPIMPORT static AcGeImpEntity3d* __cdecl impEntity3d(AcGeEntity2d const&);
- GE_DLLEXPIMPORT static AcGeImpEntity3d* __cdecl impEntity3d(AcGeEntity3d const&);
- GE_DLLEXPIMPORT virtual ~AcGeImpEntity3d(void);
- GE_DLLEXPIMPORT virtual AcGeImpEntity3d& mirror(AcGeImpPlanarEnt const&);
- GE_DLLEXPIMPORT virtual AcGeImpEntity3d& rotateBy(double, AcGeVector3d const&, AcGePoint3d const&);
- GE_DLLEXPIMPORT virtual AcGeImpEntity3d& scaleBy(double, AcGePoint3d const&);
- GE_DLLEXPIMPORT virtual AcGeImpEntity3d& translateBy(AcGeVector3d const&);
- GE_DLLEXPIMPORT virtual void* getExternalEntity(void)const;
- GE_DLLEXPIMPORT virtual void* getLinkedExternalEntity(void)const;
- GE_DLLEXPIMPORT void setDeleteApiObj(Adesk::Boolean);
- GE_DLLEXPIMPORT void setEntityType(AcGeImpEntity3d&, AcGe::EntityId, AcGe::EntityId)const;
- public:
- virtual Adesk::Boolean isGeometricallyEqual(AcGeImpEntity3d const&, AcGeTol const&)const;
- virtual Adesk::Boolean isKindOf(enum AcGe::EntityId, Adesk::Boolean)const;
- static const AcGeEntity3dImpl* getImpl(const AcGeEntity3d* pEnt);
- static AcGeEntity3dImpl* getImpl(AcGeEntity3d* pEnt);
- static AcGeEntity3d* createEntityForImpl(AcGeImpEntity3d* pImpl);
- };
复制代码 将这个头文件 放在ARX 的 inc 目录,官方并未提供这个IMP对应接口,参考了https://docs.dev.graebert.com/html/2025.0.1/frx/files.html 网站SDK ,这个网站的接口十分全面,稍加修改可以看到很多隐藏接口
|
|