CFx SDK Documentation
2023 SP0
|
#include <GeExternalSurface.h>
Additional Inherited Members | |
Protected Member Functions inherited from OdGeSurface | |
OdGeSurface () | |
OdGeSurface (const OdGeSurface &surf) | |
Protected Member Functions inherited from OdGeEntity3d | |
OdGeEntity3d () | |
OdGeEntity3d (const OdGeEntity3d &) | |
void | connectTo (OdGeEntity3dImpl *) |
This class represents unbounded surfaces, whose definitions are external to the OdGe library, as OdGeSurface.
You can access the OdGeExternalSurface as a corresponding native OdGeSurface, if such a corresponding surface exists, or you may (more efficiently) access the external data in its native form.
One example of using OdGeExternalSurface is to access an ACIS surface.
Corresponding C++ library: TD_Ge
<group OdGe_Classes>
Definition at line 55 of file GeExternalSurface.h.
OdGeExternalSurface::OdGeExternalSurface | ( | ) |
pSurfaceDef | [in] Pointer to the surface definition. |
surfaceKind | [in] Information about system that created the surface. |
makeCopy | [in] Makes a copy of the surface definition. |
source | [in] Object to be cloned. |
Possible values for surfaceKind:
@untitled table kAcisEntity kExternalEntityUndefined
OdGeExternalSurface::OdGeExternalSurface | ( | void * | pSurfaceDef, |
OdGe::ExternalEntityKind | surfaceKind, | ||
bool | makeCopy = true |
||
) |
OdGeExternalSurface::OdGeExternalSurface | ( | const OdGeExternalSurface & | source | ) |
OdGe::ExternalEntityKind OdGeExternalSurface::externalSurfaceKind | ( | ) | const |
Rerurns information about the system that created the surface.
@untitled table kAcisEntity kExternalEntityUndefined
Returns a copy of the raw surface definition.
pSurfaceDef | [out] Receives a pointer to a copy of the raw surface definition. |
bool OdGeExternalSurface::isCone | ( | ) | const |
Return true if and only if the external surface can be represented as an OdGeCone.
bool OdGeExternalSurface::isCylinder | ( | ) | const |
Return true if and only if the external surface can be represented as an OdGeCylinder.
bool OdGeExternalSurface::isDefined | ( | ) | const |
Returns true if and only if the surface is defined (not an empty instance).
bool OdGeExternalSurface::isEllipCone | ( | ) | const |
Return true if and only if the external surface can be represented as an OdGeEllipCone.
bool OdGeExternalSurface::isEllipCylinder | ( | ) | const |
Return true if and only if the external surface can be represented as an OdGeEllipCylinder.
bool OdGeExternalSurface::isNativeSurface | ( | OdGeSurface *& | nativeSurface | ) | const |
Return true if and only if the external surface can be represented as a native OdGeSurface, and returns a pointer to an instance of that native surface.
nativeSurface | [out] Receives the native surface. |
bool OdGeExternalSurface::isNurbSurface | ( | ) | const |
Return true if and only if the external surface can be represented as an OdGeNurbSurface.
bool OdGeExternalSurface::isOwnerOfSurface | ( | ) | const |
Returns true if and only if the external surface owns the data.
bool OdGeExternalSurface::isPlane | ( | ) | const |
Return true if and only if the surface can be represented as an OdGePlanarEnt.
bool OdGeExternalSurface::isSphere | ( | ) | const |
Return true if and only if the external surface can be represented as an OdGeSphere.
bool OdGeExternalSurface::isTorus | ( | ) | const |
Return true if and only if the external surface can be represented as an OdGeTorus.
OdGeExternalSurface& OdGeExternalSurface::operator= | ( | const OdGeExternalSurface & | extSurf | ) |
OdGeExternalSurface& OdGeExternalSurface::set | ( | void * | pSurfaceDef, |
OdGe::ExternalEntityKind | surfaceKind, | ||
bool | makeCopy = true |
||
) |
Sets the parameters for this external surface according to the arguments, and returns a reference to this external surface.
pSurfaceDef | [in] Pointer to the surface definition. |
surfaceKind | [in] Information about system that created the surface. |
makeCopy | [in] If true, makes a copy of the surface definition. |
OdGeExternalSurface& OdGeExternalSurface::setToOwnSurface | ( | ) |
Forces this external surface to own the data, and returns a reference to this external surface.