|
CFx SDK Documentation
2022 SP0
|
#include <GeExternalBoundedSurface.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 bounded surfaces, whose definitions are external to the OdGe library.
OdGeExternalBoundedSurface instances can be treated as any other OdGeSurface.
You can access the OdGeExternalBoundedSurface 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 OdGeExternalBoundedSurface is to access an ACIS surface.
Corresponding C++ library: TD_Ge
<group OdGe_Classes>
Definition at line 51 of file GeExternalBoundedSurface.h.
| OdGeExternalBoundedSurface::OdGeExternalBoundedSurface | ( | ) |
| pSurfaceDef | [in] Pointer to the surface definition. |
| surfaceKind | [in] Information about system that created the surface. |
| makeCopy | [in] Makes a copy of curveDef. |
| source | [in] Object to be cloned. |
Possible values for surfaceKind:
@untitled table kAcisEntity kExternalEntityUndefined
| OdGeExternalBoundedSurface::OdGeExternalBoundedSurface | ( | void * | pSurfaceDef, |
| OdGe::ExternalEntityKind | surfaceKind, | ||
| bool | makeCopy = true |
||
| ) |
| OdGeExternalBoundedSurface::OdGeExternalBoundedSurface | ( | const OdGeExternalBoundedSurface & | source | ) |
| OdGe::ExternalEntityKind OdGeExternalBoundedSurface::externalSurfaceKind | ( | ) | const |
Rerurns information about the system that created the surface.
@untitled table kAcisEntity kExternalEntityUndefined
| void OdGeExternalBoundedSurface::getBaseSurface | ( | OdGeExternalSurface & | unboundedSurfaceDef | ) | const |
Returns the unbounded surface.
| unboundedSurfaceDef | [out] Receives the unbounded surface definition. |
| void OdGeExternalBoundedSurface::getBaseSurface | ( | OdGeSurface *& | pSurfaceDef | ) | const |
Returns the unbounded surface.
| pSurfaceDef | [out] Receives a pointer to the unbounded surface definition. |
| void OdGeExternalBoundedSurface::getContours | ( | int & | numContours, |
| OdGeCurveBoundary *& | contours | ||
| ) | const |
Returns an array of the contours on this surface.
| numContours | [out] Receives the number of contours on this surface. |
| contours | [out] Receives the array of contours. |
Returns a copy of the raw surface definition.
| curveDef | [out] Receives a pointer to a copy of the raw surface definition. |
| bool OdGeExternalBoundedSurface::isCone | ( | ) | const |
Return true if and only if the unbounded base surface can be represented as an OdGeCone.
| bool OdGeExternalBoundedSurface::isCylinder | ( | ) | const |
Return true if and only if the unbounded base surface can be represented as an OdGeCylinder.
| bool OdGeExternalBoundedSurface::isDefined | ( | ) | const |
Returns true if and only if the surface is defined (not an empty instance).
| bool OdGeExternalBoundedSurface::isEllipCone | ( | ) | const |
Return true if and only if the unbounded base surface can be represented as an OdGeEllipCone.
| bool OdGeExternalBoundedSurface::isEllipCylinder | ( | ) | const |
Return true if and only if the unbounded base surface can be represented as an OdGeEllipCylinder.
| bool OdGeExternalBoundedSurface::isExternalSurface | ( | ) | const |
Return true if and only if the unbounded base surface cannot be represented as an native OdGeSurface.
| bool OdGeExternalBoundedSurface::isNurbs | ( | ) | const |
Return true if and only if the unbounded base surface can be represented as an OdGeNurbSurface.
| bool OdGeExternalBoundedSurface::isOwnerOfSurface | ( | ) | const |
Returns true if and only if the external surface owns the data.
| bool OdGeExternalBoundedSurface::isPlane | ( | ) | const |
Return true if and only if the unbounded base surface can be represented as an OdGePlanarEnt.
| bool OdGeExternalBoundedSurface::isSphere | ( | ) | const |
Return true if and only if the unbounded base surface can be represented as an OdGeSphere.
| bool OdGeExternalBoundedSurface::isTorus | ( | ) | const |
Return true if and only if the unbounded base surface can be represented as an OdGeTorus.
| int OdGeExternalBoundedSurface::numContours | ( | ) | const |
Returns the number of contours on this surface.
| OdGeExternalBoundedSurface& OdGeExternalBoundedSurface::operator= | ( | const OdGeExternalBoundedSurface & | extBoundSurf | ) |
| OdGeExternalBoundedSurface& OdGeExternalBoundedSurface::set | ( | void * | pSurfaceDef, |
| OdGe::ExternalEntityKind | surfaceKind, | ||
| bool | makeCopy = true |
||
| ) |
Sets the parameters for this external bound 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. |
| OdGeExternalBoundedSurface& OdGeExternalBoundedSurface::setToOwnSurface | ( | ) |
Forces this external surface to own the data, and returns a reference to this external surface.