AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
静态 Public 成员函数 | 所有成员列表
AnyCAD::API::MeasureTools类 参考

Measure tool. 更多...

#include <APIMeasureTools.h>

静态 Public 成员函数

static MeasureResult ComputeMinDistance (const TopoShape &shape1, const TopoShape &shape2)
 
static MeasureResult ComputeMinDistanceSingular (const TopoShape &shape1, const TopoShape &shape2)
 
static TopoShape FindEdgeNearPoint (const TopoShape &shape, const Vector3 &point)
 

详细描述

Measure tool.

TODO:

成员函数说明

static MeasureResult AnyCAD::API::MeasureTools::ComputeMinDistance ( const TopoShape shape1,
const TopoShape shape2 
)
static

Compute the minimal distance between shape 1 and shape 2.

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

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

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

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

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

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