The context to query the selected shape. 更多...
#include <APISelectedShapeQuery.h>
Public 成员函数 | |
TopoShape | GetGeometry () const |
TopoShape | GetSubGeometry () const |
bool | HasPointOnGeometry () const |
Vector3 | GetIntersectPoint (const Ray &ray) const |
Vector3 | ToGloablePoint (const Vector3 &point) const |
Public 成员函数 继承自 AnyCAD::API::SelectedEntityQuery | |
bool | IsEmpty () const |
ElementId | GetNodeId () const |
int | GetSubNodeId () const |
SceneNode | GetSubNode () const |
SceneNode | GetRootNode () const |
RenderableEntity | GetEntity () const |
int | GetSubEntityIndex () const |
int | GetSubEntityType () const |
IntList | GetIds () const |
Matrix4 | ComputeGlobalTransform () const |
The context to query the selected shape.
TODO:
TopoShape AnyCAD::API::SelectedShapeQuery::GetGeometry | ( | ) | const |
Compute the intersect point.
ray | the intersection ray. |
TopoShape AnyCAD::API::SelectedShapeQuery::GetSubGeometry | ( | ) | const |
bool AnyCAD::API::SelectedShapeQuery::HasPointOnGeometry | ( | ) | const |
If has geometry selected.
Transform local point to global point
point | the local point. |