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

Public Member Functions

boolean Initialize (TopoShape edge, GPnt pt)
 
boolean Initialize (TopoShape edge, TopoShape pt)
 
int GetPointCount ()
 
boolean IsMin (int idx)
 
GPnt GetPoint (int idx)
 
double GetParameter (int idx)
 
double GetSquareDistance (int idx)
 

Detailed Description

<>
The extrema points of two curves.

Member Function Documentation

◆ GetParameter()

double ExtremaPointCurve.GetParameter ( int  idx)

Get parameter by index

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

◆ GetPoint()

GPnt ExtremaPointCurve.GetPoint ( int  idx)

Get the point by index

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

◆ GetPointCount()

int ExtremaPointCurve.GetPointCount ( )

Get the extrema point count

Returns
the count.

◆ GetSquareDistance()

double ExtremaPointCurve.GetSquareDistance ( int  idx)

Get the square distance by index

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

◆ IsMin()

boolean ExtremaPointCurve.IsMin ( int  idx)

idx extremum distance is a minimum

Parameters
idxthe index
Returns
true if it's minimun.