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

Public Member Functions

boolean Initialize (TopoShape edge, TopoShape face)
 
int GetPointCount ()
 
boolean IsParallel ()
 
double GetSquareDistance (int idx)
 
GPnt GetPointOnEdge (int idx)
 
GPnt GetPointOnFace (int idx)
 
double GetParameterOnEdge (int idx)
 
GXY GetParameterOnFace (int idx)
 

Detailed Description

<>
The extrema points of curve and surface.

Member Function Documentation

◆ GetParameterOnEdge()

double ExtremaCurveSurface.GetParameterOnEdge ( int  idx)

Get parameter on edge by index

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

◆ GetParameterOnFace()

GXY ExtremaCurveSurface.GetParameterOnFace ( int  idx)

Get parameter on face by index

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

◆ GetPointCount()

int ExtremaCurveSurface.GetPointCount ( )

Get the extrema point count

Returns
the count.

◆ GetPointOnEdge()

GPnt ExtremaCurveSurface.GetPointOnEdge ( int  idx)

Get the point by index

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

◆ GetPointOnFace()

GPnt ExtremaCurveSurface.GetPointOnFace ( int  idx)

Get the point by index

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

◆ GetSquareDistance()

double ExtremaCurveSurface.GetSquareDistance ( int  idx)

Get the square distance of the solution index

Parameters
idxthe index.
Returns
the square distance.

◆ IsParallel()

boolean ExtremaCurveSurface.IsParallel ( )

if the curve is on a parallel surface

Returns
true if parallel