HM_ExtAPI::GeomCoedgeGetGeometry()
Returns 2d curve that defines co-edge geometry.
Syntax
bool GeomCoedgeGetGeometry(
const HM_EntityGeomCoedge & coedge,
HM_EntityGeometryCurve& curve2d,
double& start_par,
double& end_par
);
Type
HyperMesh Ext API Function
Description
The curve that defines geometry of the co-edge is a 2D curve in parametric space of the surface that defines geometry of the face associated with the co-edge. Properties of 2D curves can be queried using the same function of the API that are used to interrogate properties of 3D curves. The difference is that the points and vectors that define geometry of 2D curves have zero Z coordinate, and X and Y coordinates of points correspond to U and V parametric surface coordinates respectively.
Use the function HM_ExtAPI::GeomEdgeGetGeometry() to query 3D curve geometry associated with the co-edge.
If the function succeeds, the return value is true. If the function fails, the return value is false. To get extended value information, call HM_ExtAPI::GetLastErrorCode().
Requires including hm_extapi.h.
Inputs
- coedge
- [in] - Handle to co-edge object that was returned by previous calls to API functions.
- curve2d
- [out] - Handle to curve object that defines geometry of the co-edge.
- start_par
- [out] - Curve parameter that defines start of parametric region of the curve corresponding to the co-edge.
- end_par
- [out] - Curve parameter that defines end of parametric region of the curve corresponding to the co-edge.
Errors
None.