UF_MODL_ask_curve_props
Returns the point, tangent, unit principal normal, unit binormal,
torsion, and radius of curvature on a curve at a given parameter.
The input curve parameter, parm, is normalized between 0 and 1.
UF_EVAL_evaluate should be used to evaluate curves and edges instead
of using this routine. For a full circle, the routines may return
different results, as the parameterization of the circle may be done in
two different directions.
See Also
UF_EVAL_evaluate
extern int UF_MODL_ask_curve_props (
tag_t curve_id,
double parm,
double point[ 3 ],
double tangent[ 3 ],
double p_norm[ 3 ],
double b_norm[ 3 ],
double * torsion,
double * rad_of_cur );
tag_t curve_id Input Curve identifier.
double parm Input Curve parameter.
double point[ 3 ] Output Point on curve (3 element array).
double tangent[ 3 ] Output Tangent of curve (3 element array).
double p_norm[ 3 ] Output Unit Principal normal of curve (3 element array).
double b_norm[ 3 ] Output Unit Binormal of curve (3 element array).
double * torsion Output Torsion.
double * rad_of_cur Output Radius of Curvature.
Environment
Internal and External
起点和终点坐标是哪个? |