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

Public Member Functions

synchronized void delete ()
 
boolean Initialize (ParametricCurve curve1, GPnt pt)
 
int GetPointCount ()
 
GPnt GetPoint (int idx)
 
double GetParameter (int idx)
 
double GetSquareDistance (int idx)
 

Protected Member Functions

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

Static Protected Member Functions

static long getCPtr (ExtremaPointCurve obj)
 

Protected Attributes

transient boolean swigCMemOwn
 

Detailed Description


The extrema points of two curves.

Member Function Documentation

double ExtremaPointCurve.GetParameter ( int  idx)

Get parameter by index

Parameters
idxthe index. start from 0.
Returns
the parameter.
GPnt ExtremaPointCurve.GetPoint ( int  idx)

Get the point by index

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

Get the intersection point count

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

Get the square distance by index

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