CFx SDK Documentation 2024 SP0
|
#include <GeExternalCurve2d.h>
Additional Inherited Members | |
Static Public Member Functions inherited from OdGeCurve2d | |
static OdGeCurve2d * | restoreUvCurve (const OdGeCurve3d *curve, const OdGeSurface *surface, const OdGeTol &tol=OdGeContext::gTol) |
Protected Member Functions inherited from OdGeCurve2d | |
OdGeCurve2d () | |
OdGeCurve2d (const OdGeCurve2d &source) | |
Protected Member Functions inherited from OdGeEntity2d | |
OdGeEntity2d () | |
OdGeEntity2d (const OdGeEntity2d &) | |
void | connectTo (OdGeEntity2dImpl *) |
This class represents, as OdGeCurve2d curves, 2D curves whose definitions are external to the OdGe library.
You can access the OdGeExternalCurve2d as a corresponding native OdGeCurve2d curve, if such a corresponding curve exists, or you may (more efficiently) access the external data in its native form.
One example of using OdGeOdGeExternalCurve2d is to represent an ACIS curve.
Corresponding C++ library: TD_Ge
<group OdGe_Classes>
Definition at line 47 of file GeExternalCurve2d.h.
OdGeExternalCurve2d::OdGeExternalCurve2d | ( | ) |
Default constructor for the OdGeExternalCurve2d class. Constructs an undefined external curve.
OdGeExternalCurve2d::OdGeExternalCurve2d | ( | const OdGeExternalCurve2d & | source | ) |
Copy constructor for the OdGeExternalCurve2d class.
source | [in] Object to be copied. |
OdGeExternalCurve2d::OdGeExternalCurve2d | ( | void * | pCurveDef, |
OdGe::ExternalEntityKind | curveKind, | ||
bool | makeCopy = true |
||
) |
Constructor for the OdGeExternalCurve2d class.
pCurveDef | [in] Pointer to the curve definition. |
curveKind | [in] Information about system that created the curve. |
makeCopy | [in] Makes a copy of the curve definition. |
OdGe::ExternalEntityKind OdGeExternalCurve2d::externalCurveKind | ( | ) | const |
Returns information about the system that created the curve.
@untitled table kAcisEntity kExternalEntityUndefined
Returns a copy of the raw curve definition.
pCurveDef | [out] Receives a pointer to a copy of the raw curve definition. |
bool OdGeExternalCurve2d::isDefined | ( | ) | const |
Returns true if and only if the curve is defined (not an empty instance).
bool OdGeExternalCurve2d::isNurbCurve | ( | ) | const |
Returns true if and only if the curve can be represented as an OdGeNurbCurve2d curve.
bool OdGeExternalCurve2d::isNurbCurve | ( | OdGeNurbCurve2d & | nurbCurve | ) | const |
Returns true, and an OdGeNurbCurve2d curve, if and only if the curve can be represented as an OdGeNurbCurve2d curve.
nurbCurve | [out] Receives an OdGeNurbCurve2d internal representation of the external curve. |
bool OdGeExternalCurve2d::isOwnerOfCurve | ( | ) | const |
Returns true if and only if if the external curve owns the data.
OdGeExternalCurve2d & OdGeExternalCurve2d::operator= | ( | const OdGeExternalCurve2d & | extCurve | ) |
Assignment operator for the OdGeExternalCurve2d object.
extCurve | [in] External curve to assign. |
OdGeExternalCurve2d & OdGeExternalCurve2d::set | ( | void * | pCurveDef, |
OdGe::ExternalEntityKind | curveKind, | ||
bool | makeCopy = true |
||
) |
Sets the parameters for this external curve according to the arguments, and returns a reference to this external curve.
pCurveDef | [in] Pointer to the curve definition. |
curveKind | [in] Information about system that created the curve. |
makeCopy | [in] If true, makes a copy of of the curve definition. |
OdGeExternalCurve2d & OdGeExternalCurve2d::setToOwnCurve | ( | ) |
Forces this external curve to own the data, and returns a pointer to this curve.