Class CurveHelper
Assembly: CAMAPI.DotnetHelper.dll
Syntax
public static class CurveHelper
Methods
Box(ComWrapper<ICamApiCurve>)
Declaration
public static TST3DBox Box(this ComWrapper<ICamApiCurve> curveCom)
Parameters
Returns
FindNearestPoint(ComWrapper<ICamApiCurve>, TST3DPoint, double, double)
Find the parameter of the point on curve nearest to a defined point on interval (t1, t2)
Declaration
public static double FindNearestPoint(this ComWrapper<ICamApiCurve> curveCom, TST3DPoint p, double t1, double t2)
Parameters
Returns
FullLen(ComWrapper<ICamApiCurve>)
Declaration
public static double FullLen(this ComWrapper<ICamApiCurve> curveCom)
Parameters
Returns
GetLen(ComWrapper<ICamApiCurve>, double, double)
Returns the length between t1 and t2 along the curve
Declaration
public static double GetLen(this ComWrapper<ICamApiCurve> curveCom, double t1, double t2)
Parameters
Returns
GetPoint(ComWrapper<ICamApiCurve>, double)
Declaration
public static TST3DPoint GetPoint(this ComWrapper<ICamApiCurve> curveCom, double t)
Parameters
Returns
GetUnitTangent(ComWrapper<ICamApiCurve>, double, bool)
Get normalized tangent by parameter
Declaration
public static TST3DPoint GetUnitTangent(this ComWrapper<ICamApiCurve> curveCom, double t, bool isForward)
Parameters
Returns
Inverse(ComWrapper<ICamApiCurve>)
Declaration
public static void Inverse(this ComWrapper<ICamApiCurve> curveCom)
Parameters
IsClosed(ComWrapper<ICamApiCurve>)
Declaration
public static bool IsClosed(this ComWrapper<ICamApiCurve> curveCom)
Parameters
Returns
KnotPoint(ComWrapper<ICamApiCurve>, int)
Get knot point by index [0..QntP]
Declaration
public static TST3DPoint KnotPoint(this ComWrapper<ICamApiCurve> curveCom, int i)
Parameters
Returns
QntP(ComWrapper<ICamApiCurve>)
Number of curve knot points
Declaration
public static int QntP(this ComWrapper<ICamApiCurve> curveCom)
Parameters
Returns
SavePartToReceiver(ComWrapper<ICamApiCurve>, ComWrapper<ICamApiAbstractCurveReceiver>, double, double, double)
Save part of the curve to Receiver
Declaration
public static void SavePartToReceiver(this ComWrapper<ICamApiCurve> curveCom, ComWrapper<ICamApiAbstractCurveReceiver> receiver, double t1, double t2, double tol)
Parameters
TMax(ComWrapper<ICamApiCurve>)
Declaration
public static double TMax(this ComWrapper<ICamApiCurve> curveCom)
Parameters
Returns
TMin(ComWrapper<ICamApiCurve>)
Declaration
public static double TMin(this ComWrapper<ICamApiCurve> curveCom)
Parameters
Returns