AnyCAD Rapid SDK  2020
The Rapid CAD SDK
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
ExtremaCurveCurve Class Reference

Public Member Functions

synchronized void delete ()
 
boolean Initialize (TopoShape curve1, TopoShape curve2)
 
int GetPointCount ()
 
GPnt GetPoint1 (int idx)
 
GPnt GetPoint2 (int idx)
 
double GetParameter1 (int idx)
 
double GetParameter2 (int idx)
 
double GetSquareDistance (int idx)
 
boolean IsParallel ()
 

Protected Member Functions

 ExtremaCurveCurve (long cPtr, boolean cMemoryOwn)
 
void finalize ()
 

Static Protected Member Functions

static long getCPtr (ExtremaCurveCurve obj)
 

Protected Attributes

transient boolean swigCMemOwn
 

Detailed Description


The extrema points of two curves.

Member Function Documentation

double ExtremaCurveCurve.GetParameter1 ( int  idx)

Get parameter by index

Parameters
idxthe index. start from 0.
Returns
the parameter.
GPnt ExtremaCurveCurve.GetPoint1 ( int  idx)

Get the point by index

Parameters
idxthe index. start from 0.
Returns
the Point.
int ExtremaCurveCurve.GetPointCount ( )

Get the intersection point count

Returns
the count.
double ExtremaCurveCurve.GetSquareDistance ( int  idx)

Get the square distance by index

Parameters
idxthe index. start from 0.
Returns
the squre distance.