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

Public Member Functions

synchronized void delete ()
 
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)
 

Protected Member Functions

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

Static Protected Member Functions

static long getCPtr (ExtremaShapeShape obj)
 

Protected Attributes

transient boolean swigCMemOwn
 

Detailed Description


The extrema points of two curves.

Member Function Documentation

double ExtremaShapeShape.GetMinimumDistance ( )

Get the minimum distance.

Returns
the distance.
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
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
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
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
int ExtremaShapeShape.GetPointCount ( )

Get the extrema point count

Returns
the count.
GPnt ExtremaShapeShape.GetPointOnShape1 ( int  idx)

Get the point on shape 1 by index

Parameters
idxthe index. start from 0.
Returns
the Point.
GPnt ExtremaShapeShape.GetPointOnShape2 ( int  idx)

Get the point on shape 2 by index

Parameters
idxthe index. start from 0.
Returns
the Point.
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.
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.
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 ....