AnyCAD Rapid API 2023
Help you to create a better world!
ExtremaCurveCurve Class Reference

Public Member Functions

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 ()
 

Detailed Description

<>
The extrema points of two curves.

Member Function Documentation

◆ GetParameter1()

double ExtremaCurveCurve.GetParameter1 ( int  idx)

Get parameter by index

Parameters
idxthe index. start from 0.
Returns
the parameter.

◆ GetPoint1()

GPnt ExtremaCurveCurve.GetPoint1 ( int  idx)

Get the point by index

Parameters
idxthe index. start from 0.
Returns
the Point.

◆ GetPointCount()

int ExtremaCurveCurve.GetPointCount ( )

Get the extrema point count

Returns
the count.

◆ GetSquareDistance()

double ExtremaCurveCurve.GetSquareDistance ( int  idx)

Get the square distance by index

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