CFx SDK Documentation
2023 SP0
|
#include <GeSurfSurfInt.h>
Additional Inherited Members | |
Protected Member Functions inherited from OdGeEntity3d | |
OdGeEntity3d () | |
OdGeEntity3d (const OdGeEntity3d &) | |
void | connectTo (OdGeEntity3dImpl *) |
This class holds the intersection data of two surfaces.
Corresponding C++ library: TD_Ge
<group OdGe_Classes>
Definition at line 47 of file GeSurfSurfInt.h.
OdGeSurfSurfInt::OdGeSurfSurfInt | ( | ) |
srf1 | [in] First surface. |
srf2 | [in] Second surface. |
tol | [in] Geometric tolerance. |
source | [in] Object to be cloned. |
OdGeSurfSurfInt::OdGeSurfSurfInt | ( | const OdGeSurface & | srf1, |
const OdGeSurface & | srf2, | ||
const OdGeTol & | tol = OdGeContext::gTol |
||
) |
OdGeSurfSurfInt::OdGeSurfSurfInt | ( | const OdGeSurfSurfInt & | source | ) |
int OdGeSurfSurfInt::getDimension | ( | int | intNum, |
OdGeIntersectError & | status | ||
) | const |
Description Pending.
intNum | [in] The zero-based index of the intersection curve to return. |
status | [out] Receives the status of the intersection. |
@untitled table kXXOk kXXIndexOutOfRange kXXWrongDimensionAtIndex kXXUnknown
void OdGeSurfSurfInt::getIntConfigs | ( | int | intNum, |
OdGe::ssiConfig & | surf1Left, | ||
OdGe::ssiConfig & | surf1Right, | ||
OdGe::ssiConfig & | surf2Left, | ||
OdGe::ssiConfig & | surf2Right, | ||
OdGe::ssiType & | intType, | ||
int & | dim, | ||
OdGeIntersectError & | status | ||
) | const |
Returns the configurations on either side of the intersection each surface.
intNum | [in] The zero-based index of the intersection curve to return. |
surf1Left | [out] Receives the configuration for surface 1 on the left side of the intersection. |
surf1Right | [out] Receives the configuration for surface 1 on the right side of the intersection. |
surf2Left | [out] Receives the configuration for surface 2 on the left side of the intersection. |
surf2Right | [out] Receives the configuration for surface 2 on the right side of the intersection. |
status | [out] Receives the status of the intersection. |
@untitled table kSSIUnknown kSSIOut Neighborhood is outside this surface. kSSIIn Neighborhood is inside this surface. kSSICoincident Non-zero area intersection.
Possible values for status are as follows:
@untitled table kXXOk kXXIndexOutOfRange kXXWrongDimensionAtIndex kXXUnknown
void OdGeSurfSurfInt::getIntPointParams | ( | int | intNum, |
OdGePoint2d & | param1, | ||
OdGePoint2d & | param2, | ||
OdGeIntersectError & | status | ||
) | const |
Returns the parameter pairs for the specified intersection point with respect to each surface, and the status of the intersection.
intNum | [in] The zero-based index of the intersection curve to return. |
param1 | [out] Receives the parameter pair of the intersection point with respect to the first curve. |
param2 | [out] Receives the parameter pair of the intersection point with respect to the second curve. |
status | [out] Receives the status of the intersection. |
Possible values for status are as follows:
@untitled table kXXOk kXXIndexOutOfRange kXXWrongDimensionAtIndex kXXUnknown
OdGe::ssiType OdGeSurfSurfInt::getType | ( | int | intNum, |
OdGeIntersectError & | status | ||
) | const |
Returns the type of the specified intersection.
intNum | [in] The zero-based index of the intersection curve to return. |
status | [out] Receives the status of the intersection. |
@untitled table kXXOk kXXIndexOutOfRange kXXWrongDimensionAtIndex kXXUnknown
OdGeCurve3d* OdGeSurfSurfInt::intCurve | ( | int | intNum, |
bool | isExternal, | ||
OdGeIntersectError & | status | ||
) | const |
Returns the 3D curve representing the specified intersection and the status of the intersection.
intNum | [in] The zero-based index of the intersection curve to return. |
isExternal | [in] Unknown. |
status | [out] Receives the status of the intersection. |
@untitled table kXXOk kXXIndexOutOfRange kXXWrongDimensionAtIndex kXXUnknown
OdGeCurve2d* OdGeSurfSurfInt::intParamCurve | ( | int | intNum, |
bool | isExternal, | ||
bool | isFirst, | ||
OdGeIntersectError & | status | ||
) | const |
Returns the 2D curve representing the specified intersection and the status of the intersection.
intNum | [in] The zero-based index of the intersection curve to return. |
isExternal | [in] Unknown. |
isFirst | [in] If true, returns the curve on the first surface, otherwise it the curve on the second surface. |
status | [out] Receives the status of the intersection. |
Possible values for status are as follows:
@untitled table kXXOk kXXIndexOutOfRange kXXWrongDimensionAtIndex kXXUnknown
OdGePoint3d OdGeSurfSurfInt::intPoint | ( | int | intNum, |
OdGeIntersectError & | status | ||
) | const |
Returns the 3d point representing the specified intersection, and the status of the intersection.
intNum | [in] The zero-based index of the intersection curve to return. |
status | [out] Receives the status of the intersection. |
Possible values for status are as follows:
@untitled table kXXOk kXXIndexOutOfRange kXXWrongDimensionAtIndex kXXUnknown
int OdGeSurfSurfInt::numIntCurves | ( | OdGeIntersectError & | status | ) | const |
int OdGeSurfSurfInt::numResults | ( | OdGeIntersectError & | status | ) | const |
Returns the number of intersections between the two surfaces, and the status of the intersections.
status | [out] Receives the status of the intersection. |
@untitled table kXXOk kXXIndexOutOfRange kXXWrongDimensionAtIndex kXXUnknown
OdGeSurfSurfInt& OdGeSurfSurfInt::operator= | ( | const OdGeSurfSurfInt & | surfSurfInt | ) |
OdGeSurfSurfInt& OdGeSurfSurfInt::set | ( | const OdGeSurface & | srf1, |
const OdGeSurface & | srf2, | ||
const OdGeTol & | tol = OdGeContext::gTol |
||
) |
Sets the surfaces and tolerances whose intersection data is to be determines. Returns a reference to this SurfSurfInt.
srf1 | [in] First surface. |
srf2 | [in] Second surface. |
tol | [in] Geometric tolerance. |
const OdGeSurface* OdGeSurfSurfInt::surface1 | ( | ) | const |
Returns the first surface.
const OdGeSurface* OdGeSurfSurfInt::surface2 | ( | ) | const |
Returns the second surface.
OdGeTol OdGeSurfSurfInt::tolerance | ( | ) | const |
Returns the tolerance for determining intersections.