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

Public Member Functions

boolean Initialize (TopoShape shape1, TopoShape shape2, double deflection)
 
double GetMinimumDistance ()
 
boolean IsInnerSolution ()
 
int GetPointCount ()
 
GPnt GetPointOnShape1 (int idx)
 
GPnt GetPointOnShape2 (int idx)
 
TopoShape GetSupportShape1 (int N)
 
TopoShape GetSupportShape2 (int N)
 
double GetParameterOnEdgeS1 (int N)
 
double GetParameterOnEdgeS2 (int N)
 
GXY GetParameterOnFaceS1 (int N)
 
GXY GetParameterOnFaceS2 (int N)
 

Detailed Description

<>
The extrema points of two curves.

Member Function Documentation

◆ GetMinimumDistance()

double ExtremaShapeShape.GetMinimumDistance ( )

Get the minimum distance.

Returns
the distance.

◆ GetParameterOnEdgeS1()

double ExtremaShapeShape.GetParameterOnEdgeS1 ( int  N)

gives the corresponding parameter t if the Nth solution
is situated on an Egde of the first shape

Parameters
Nthe index.
Returns
the parameter

◆ GetParameterOnEdgeS2()

double ExtremaShapeShape.GetParameterOnEdgeS2 ( int  N)

gives the corresponding parameter t if the Nth solution
is situated on an Egde of the first shape

Parameters
Nthe index.
Returns
the parameter

◆ GetParameterOnFaceS1()

GXY ExtremaShapeShape.GetParameterOnFaceS1 ( int  N)

gives the corresponding parameter t if the Nth solution
is situated on an Face of the first shape

Parameters
Nthe index.
Returns
the parameter

◆ GetParameterOnFaceS2()

GXY ExtremaShapeShape.GetParameterOnFaceS2 ( int  N)

gives the corresponding parameter t if the Nth solution
is situated on an Face of the first shape

Parameters
Nthe index.
Returns
the parameter

◆ GetPointCount()

int ExtremaShapeShape.GetPointCount ( )

Get the extrema point count

Returns
the count.

◆ GetPointOnShape1()

GPnt ExtremaShapeShape.GetPointOnShape1 ( int  idx)

Get the point on shape 1 by index

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

◆ GetPointOnShape2()

GPnt ExtremaShapeShape.GetPointOnShape2 ( int  idx)

Get the point on shape 2 by index

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

◆ GetSupportShape1()

TopoShape ExtremaShapeShape.GetSupportShape1 ( int  N)

Gives the support where the Nth solution on the first shape is situated.

Parameters
Nthe index. start from 0.
Returns
the support which can be a Vertex, an Edge or a Face.

◆ GetSupportShape2()

TopoShape ExtremaShapeShape.GetSupportShape2 ( int  N)

Gives the support where the Nth solution on the first shape is situated.

Parameters
Nthe index. start from 0.
Returns
the support which can be a Vertex, an Edge or a Face.

◆ IsInnerSolution()

boolean ExtremaShapeShape.IsInnerSolution ( )

True if one of the shapes is a solid and the other shape
is completely or partially inside the solid.

Returns
true if ....