The reference plane. 更多...
#include <APIReferencePlane.h>
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:
Compute the distance to the plane.
worldPt | the point. |
Coordinate3 AnyCAD::API::ReferencePlane::GetCoordinate | ( | ) | const |
Get Coordinate.
bool AnyCAD::API::ReferencePlane::OnLocalPlaneXY | ( | const Vector3 & | worldPt | ) | const |
Test if the point is on the plane.
worldPt | the point. |
void AnyCAD::API::ReferencePlane::SetCoordinate | ( | const Coordinate3 & | _Coordinate | ) |
Set the Coordinate.
_Coordinate | the Coordinate. |