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

Public Member Functions

synchronized void delete ()
 

Static Public Member Functions

static TopoShape ProjectOnPlane (TopoShape curve, GPnt planePosition, GDir planeDir, GDir projDir)
 
static TopoShape ProjectOnPlane (TopoShape curve, GPnt planePosition, GDir planeDir)
 
static TopoShape ProjectOnSurface (TopoShape curve, TopoShape surface, boolean faceBoundaries)
 
static TopoShape ProjectOnSurface (TopoShape curve, TopoShape surface)
 
static ProjSurfaceResult ProjectOnSurface (GPnt point, TopoShape surface, double tolerance)
 
static ProjCurveResult ProjectOnCurve (GPnt point, TopoShape curve, double tolerance)
 

Protected Member Functions

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

Static Protected Member Functions

static long getCPtr (ProjectionTool obj)
 

Protected Attributes

transient boolean swigCMemOwn
 

Detailed Description


The Projection tools.

Member Function Documentation

static ProjCurveResult ProjectionTool.ProjectOnCurve ( GPnt  point,
TopoShape  curve,
double  tolerance 
)
static

Project the point to edge or wire.

Parameters
pointthe point
curvethe curve.
tolerancethe tolerance.
Returns
the projected result.
static TopoShape ProjectionTool.ProjectOnPlane ( TopoShape  curve,
GPnt  planePosition,
GDir  planeDir,
GDir  projDir 
)
static

Project the edge/wire to plane surface.

Parameters
curvethe edge/wire shape
planePositionthe position of the plane.
planeDirthe direction of the plane.
projDirthe projection direction.
Returns
the projected curve.
static TopoShape ProjectionTool.ProjectOnPlane ( TopoShape  curve,
GPnt  planePosition,
GDir  planeDir 
)
static

Project the edge/wire to plane surface.

Parameters
curvethe edge/wire shape
planePositionthe position of the plane.
planeDirthe direction of the plane.
Returns
the projected curve.
static TopoShape ProjectionTool.ProjectOnSurface ( TopoShape  curve,
TopoShape  surface,
boolean  faceBoundaries 
)
static

Project the edge/wire to surface.

Parameters
curvethe edge/wire shape
surfacethe surface.
faceBoundariesif bound by the surface.
Returns
the projected curve.
static TopoShape ProjectionTool.ProjectOnSurface ( TopoShape  curve,
TopoShape  surface 
)
static

Project the edge/wire to surface.

Parameters
curvethe edge/wire shape
surfacethe surface.

Returns
the projected curve.
static ProjSurfaceResult ProjectionTool.ProjectOnSurface ( GPnt  point,
TopoShape  surface,
double  tolerance 
)
static

Project the point to surface.

Parameters
pointthe point
surfacethe surface.
tolerancethe tolerance.
Returns
the projected result.