Class Hierarchy
AcGeEntity3d AcGeCurve3d AcGeExternalCurve3d
C++
class AcGeExternalCurve3d : public AcGeCurve3d;
File
geextc3d.h
Description
AcGeExternalCurve3d class is a representation for a 3D curve geometry that has its definition external to gelib. Since AcGeExternalCurve3d is an AcGeCurve3d, these external entities can be treated as any other gelib 3D curves. Certain external curve points sets may have corresponding native representations in GeLib. In such cases, it is possible to obtain such GeLib representations. However, the curve definitions of native GeLib curves would differ from the definition of external entities. An example of such a difference is differing curve parameterizations. A typical example of a use of AcGeExternalCurve3d is to represent a ShapeManager curve.
Clearly, an instance of AcGeExternalCurve3d can be used as any other AcGeCurve3d. Alternatively, knowledge of the precise definition of the external entity allows direct access to the external entity in its native form. This access is more efficient because it avoids the level of indirection that is incurred when accessing the external entity through GeLib interface.
Remarks
The external entity is represented within AcGeExternalCurve3d as a pointer. The memory used by this pointer can either be under user control, or it can be made to be managed by the instance of this class. In the latter case, the class is said to "own" the definition data. Ownership of the definition data by the instance would result in the destructor of the class deleting the memory occupied by the definition data pointer. In perusing the following method descriptions, pay special attention to those methods that may influence the ownership of the curve definition data.
Links
AcGeExternalCurve3d Constructor, AcGeExternalCurve3d Methods, AcGeExternalCurve3d Operators
See Also
AcGeExternalCurve2d