|
CFx SDK Documentation
2023 SP0
|
#include <GeCurveSurfInt.h>
Additional Inherited Members | |
Protected Member Functions inherited from OdGeEntity3d | |
| OdGeEntity3d () | |
| OdGeEntity3d (const OdGeEntity3d &) | |
| void | connectTo (OdGeEntity3dImpl *) |
This class represents intersections of 3D curves and surfaces. Currently not implemented.
If one of the objects is deleted, the intersection must be recalculated.
Corresponding C++ library: TD_Ge
<group OdGe_Classes>
Definition at line 55 of file GeCurveSurfInt.h.
| OdGeCurveSurfInt::OdGeCurveSurfInt | ( | ) |
| curve | [in] Any 3D curve. |
| surface | [in] Any surface. |
| tol | [in] Geometric tolerance. |
| source | [in] Object to be cloned. |
| OdGeCurveSurfInt::OdGeCurveSurfInt | ( | const OdGeCurve3d & | curve, |
| const OdGeSurface & | surface, | ||
| const OdGeTol & | tol = OdGeContext::gTol |
||
| ) |
| OdGeCurveSurfInt::OdGeCurveSurfInt | ( | const OdGeCurveSurfInt & | source | ) |
| const OdGeCurve3d* OdGeCurveSurfInt::curve | ( | ) | const |
Returns the 3D curve.
| int OdGeCurveSurfInt::getDimension | ( | int | intNum, |
| OdGeIntersectError & | status | ||
| ) | const |
Returns a dimension of the specified intersection, and retrieves the status of the intersection.
| intNum | [in] The zero-based index of the intersection. |
| status | [out] Receives the status of the intersection. |
@untitled table kXXOk kXXIndexOutOfRange kXXWrongDimensionAtIndex kXXUnknown
| void OdGeCurveSurfInt::getIntConfigs | ( | int | intNum, |
| OdGe::csiConfig & | lower, | ||
| OdGe::csiConfig & | higher, | ||
| bool & | smallAngle, | ||
| OdGeIntersectError & | status | ||
| ) | const |
Returns the configurations on either side of the surface at the intersection.
| intNum | [in] The zero-based index of the intersection curve to return. |
| lower | [out] Unknown. |
| higher | [out] Unknown. |
| smallAngle | [out] Unknown. |
| status | [out] Receives the status of the intersection. |
@untitled table kXUnknown
kXOut
kXIn
kXTanOut
kXTanIn
kXCoincident
kXCoincidentUnbounded
Possible values for status are as follows:
@untitled table kXXOk kXXIndexOutOfRange kXXWrongDimensionAtIndex kXXUnknown
| void OdGeCurveSurfInt::getIntParams | ( | int | intNum, |
| double & | param1, | ||
| OdGePoint2d & | param2, | ||
| OdGeIntersectError & | status | ||
| ) | const |
Returns the parameters of the specified intersection point with respect to the curve and surface, and returns the status of the intersection.
| intNum | [in] The zero-based index of the intersection curve to return. |
| param1 | [out] Receives the parameter of the intersection point with respect to the curve. |
| param2 | [out] Receives the parameter pair of the intersection point with respect to the surface. |
| status | [out] Receives the status of the intersection. |
@untitled table kXXOk kXXIndexOutOfRange kXXWrongDimensionAtIndex kXXUnknown
| void OdGeCurveSurfInt::getOverlapRange | ( | int | intNum, |
| OdGeInterval & | range, | ||
| OdGeIntersectError & | status | ||
| ) | const |
Retrieves the range for the curve for the specified overlap, and retrieves the status of the intersection.
| intNum | [in] The zero-based index of the overlap range to query. |
| range | [out] Receives the range of the curve for the specified overlap. |
| status | [out] Receives the status of the intersection. |
@untitled table kXXOk kXXIndexOutOfRange kXXWrongDimensionAtIndex kXXUnknown
| void OdGeCurveSurfInt::getPointOnCurve | ( | int | intNum, |
| OdGePointOnCurve3d & | intPnt, | ||
| OdGeIntersectError & | status | ||
| ) | const |
Returns the intersection point on the curve, and returns the status of the intersection.
| intNum | [in] The zero-based index of the intersection pooint to return. |
| intPnt | [out] Receives the specified intersection point on the curve. |
| status | [out] Receives the status of the intersection. |
@untitled table kXXOk kXXIndexOutOfRange kXXWrongDimensionAtIndex kXXUnknown
| void OdGeCurveSurfInt::getPointOnSurface | ( | int | intNum, |
| OdGePointOnSurface & | intPnt, | ||
| OdGeIntersectError & | status | ||
| ) | const |
Returns the intersection point on the surface, and returns the status of the intersection.
| intNum | [in] The zero-based index of the intersection point to return. |
| intPnt | [out] Receives the specified intersection point on the surface. |
| status | [out] Receives the status of the intersection. |
@untitled table kXXOk kXXIndexOutOfRange kXXWrongDimensionAtIndex kXXUnknown
| OdGeCurve2d* OdGeCurveSurfInt::intParamCurve | ( | int | intNum, |
| bool | isExternal, | ||
| 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] If true, returns a pointer of OdGeExternalCurve2d (not implemented). |
| status | [out] Receives the status of the intersection. |
Possible values for status are as follows:
@untitled table kXXOk kXXIndexOutOfRange kXXWrongDimensionAtIndex kXXUnknown
| OdGePoint3d OdGeCurveSurfInt::intPoint | ( | int | intNum, |
| OdGeIntersectError & | status | ||
| ) | const |
Returns a 3D point representing the specified intersection, and returns 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. |
@untitled table kXXOk kXXIndexOutOfRange kXXWrongDimensionAtIndex kXXUnknown
| int OdGeCurveSurfInt::numIntPoints | ( | OdGeIntersectError & | status | ) | const |
Returns the number of intersections between the curve and the surface, and returns the status of the intersection.
| status | [out] Receives the status of the intersection. |
@untitled table kXXOk kXXIndexOutOfRange kXXWrongDimensionAtIndex kXXUnknown
| int OdGeCurveSurfInt::numResults | ( | OdGeIntersectError & | status | ) | const |
Returns the number of intersections between the curve and the surface, and retrieves the status of the intersection.
| status | [out] Receives the status of the intersection. |
@untitled table kXXOk kXXIndexOutOfRange kXXWrongDimensionAtIndex kXXUnknown
| OdGeCurveSurfInt& OdGeCurveSurfInt::operator= | ( | const OdGeCurveSurfInt & | crvSurfInt | ) |
| int OdGeCurveSurfInt::overlapCount | ( | OdGeIntersectError & | status | ) | const |
Retrieves the number of interval of overlaps between the curve and the surface, and retrieves the status of the intersection.
| status | [out] Receives the status of the intersection. |
@untitled table kXXOk kXXIndexOutOfRange kXXWrongDimensionAtIndex kXXUnknown
| OdGeCurveSurfInt& OdGeCurveSurfInt::set | ( | const OdGeCurve3d & | cvr, |
| const OdGeSurface & | surface, | ||
| const OdGeTol & | tol = OdGeContext::gTol |
||
| ) |
Specifies the 3D curve, surface, and tolerance for determining intersections.
| curve | [in] Any 3D curve. |
| surface | [in] Any surface. |
| tol | [in] Geometric tolerance. |
| const OdGeSurface* OdGeCurveSurfInt::surface | ( | ) | const |
Returns the surface.
| OdGeTol OdGeCurveSurfInt::tolerance | ( | ) | const |
Returns the tolerance for determining intersections.