AnyCAD SDK PRO  2020
The Professional Graphics SDK for .Net and C++ Developers
Public 成员函数 | 所有成员列表
AnyCAD::Platform::MeasureTools类 参考

Measure tool. 更多...

Public 成员函数

MeasureResultComputeMinDistance (TopoShape^ shape1, TopoShape^ shape2)
 
MeasureResultComputeMinDistanceSingular (TopoShape^ shape1, TopoShape^ shape2)
 
TopoShapeFindEdgeNearPoint (TopoShape^ shape, Vector3^ point)
 

详细描述

Measure tool.

TODO:

成员函数说明

MeasureResult ^ AnyCAD::Platform::MeasureTools::ComputeMinDistance ( TopoShape shape1,
TopoShape shape2 
)

Compute the minimal distance between shape 1 and shape 2.

参数
shape1the first shape.
shape2the second shape.
返回
the measure result.
MeasureResult ^ AnyCAD::Platform::MeasureTools::ComputeMinDistanceSingular ( TopoShape shape1,
TopoShape shape2 
)

Compute the minimal distance between shape 1 and shape 2 for singular cases.

参数
shape1the first shape.
shape2the second shape.
返回
the measure result.
TopoShape ^ AnyCAD::Platform::MeasureTools::FindEdgeNearPoint ( TopoShape shape,
Vector3 point 
)

Find the nearest edge to the point. Return null if more than one edge.

参数
shapethe shape which has edges.
pointthe point.
返回
the edge.

该类的文档由以下文件生成: