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

The reference plane. 更多...

#include <APIReferencePlane.h>

类 AnyCAD::API::ReferencePlane 继承关系图:
AnyCAD::API::Element AnyCAD::API::Object AnyCAD::API::LevelPlane AnyCAD::API::SectionPlane

Public 成员函数

void SetCoordinate (const Coordinate3 &_Coordinate)
 
Coordinate3 GetCoordinate () const
 
Real DistanceToPlane (const Vector3 &worldPt) const
 
bool OnLocalPlaneXY (const Vector3 &worldPt) const
 
- Public 成员函数 继承自 AnyCAD::API::Element
ElementId GetId () const
 
String GetName () const
 
void SetName (const String &strName)
 
String GetCategory () const
 
void SetCategory (const String &category)
 
virtual bool SetParameterValue (ParameterId paramId, const ParameterValue &pValue)
 
virtual ParameterValue GetParameterValue (ParameterId paramId) const
 
ParameterUISet GetSystemParameterUISet () const
 
Document GetOwnerDocument () const
 
- Public 成员函数 继承自 AnyCAD::API::Object
String GetObjectClassId () const
 
StringList ListParentClassIds () const
 

详细描述

The reference plane.

TODO:

成员函数说明

Real AnyCAD::API::ReferencePlane::DistanceToPlane ( const Vector3 worldPt) const

Compute the distance to the plane.

参数
worldPtthe point.
返回
the distance.
Coordinate3 AnyCAD::API::ReferencePlane::GetCoordinate ( ) const

Get Coordinate.

返回
the Coordinate.
bool AnyCAD::API::ReferencePlane::OnLocalPlaneXY ( const Vector3 worldPt) const

Test if the point is on the plane.

参数
worldPtthe point.
返回
true if on the plane.
void AnyCAD::API::ReferencePlane::SetCoordinate ( const Coordinate3 _Coordinate)

Set the Coordinate.

参数
_Coordinatethe Coordinate.

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