AnyCAD Rapid API 2023
Help you to create a better world!
载入中...
搜索中...
未找到
ProjectionTool类 参考

静态 Public 成员函数

static TopoShape ProjectOnPlane (TopoShape curve, GPnt planePosition, GDir planeDir, GDir projDir, boolean keepParams)
 
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)
 
static TopoShape ProjectOnShape (TopoShape wire, TopoShape shape, GDir dir)
 
static TopoShape ProjectOnShape (TopoShape wire, TopoShape shape, GPnt pt)
 

详细描述

<>
投影相关的工具.

成员函数说明

◆ ProjectOnCurve()

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

Project the point to edge or wire.

参数
pointthe point
curvethe curve.
tolerancethe tolerance.
返回
the projected result.

◆ ProjectOnPlane() [1/3]

static TopoShape ProjectionTool.ProjectOnPlane ( TopoShape  curve,
GPnt  planePosition,
GDir  planeDir 
)
static

Project the edge/wire to plane surface.

参数
curvethe edge/wire shape
planePositionthe position of the plane.
planeDirthe direction of the plane.
返回
the projected curve.

◆ ProjectOnPlane() [2/3]

static TopoShape ProjectionTool.ProjectOnPlane ( TopoShape  curve,
GPnt  planePosition,
GDir  planeDir,
GDir  projDir 
)
static

Project the edge/wire to plane surface.

参数
curvethe edge/wire shape
planePositionthe position of the plane.
planeDirthe direction of the plane.
projDirthe projection direction.

返回
the projected curve.

◆ ProjectOnPlane() [3/3]

static TopoShape ProjectionTool.ProjectOnPlane ( TopoShape  curve,
GPnt  planePosition,
GDir  planeDir,
GDir  projDir,
boolean  keepParams 
)
static

Project the edge/wire to plane surface.

参数
curvethe edge/wire shape
planePositionthe position of the plane.
planeDirthe direction of the plane.
projDirthe projection direction.
keepParams保留原曲线的参数
返回
the projected curve.

◆ ProjectOnShape() [1/2]

static TopoShape ProjectionTool.ProjectOnShape ( TopoShape  wire,
TopoShape  shape,
GDir  dir 
)
static

Makes a Cylindrical projection of Wire om Shape

参数
wirethe input
shapethe shape
dirthe direction
返回
the compound shape of wires.

◆ ProjectOnShape() [2/2]

static TopoShape ProjectionTool.ProjectOnShape ( TopoShape  wire,
TopoShape  shape,
GPnt  pt 
)
static

Makes a Conical projection of Wire om Shape

参数
wirethe input
shapethe shape
ptthe point
返回
the compound shape of wires.

◆ ProjectOnSurface() [1/3]

static ProjSurfaceResult ProjectionTool.ProjectOnSurface ( GPnt  point,
TopoShape  surface,
double  tolerance 
)
static

Project the point to surface.

参数
pointthe point
surfacethe surface.
tolerancethe tolerance.
返回
the projected result.

◆ ProjectOnSurface() [2/3]

static TopoShape ProjectionTool.ProjectOnSurface ( TopoShape  curve,
TopoShape  surface 
)
static

Project the edge/wire to surface.

参数
curvethe edge/wire shape
surfacethe surface.

返回
the projected curve.

◆ ProjectOnSurface() [3/3]

static TopoShape ProjectionTool.ProjectOnSurface ( TopoShape  curve,
TopoShape  surface,
boolean  faceBoundaries 
)
static

Project the edge/wire to surface.

参数
curvethe edge/wire shape
surfacethe surface.
faceBoundariesif bound by the surface.
返回
the projected curve.