AnyCAD Rapid API 2025
Help you to create a better world!
载入中...
搜索中...
未找到
IntersectPoint类 参考

Public 成员函数

 IntersectPoint (Vector3d pos, Vector3d normal)
 
 IntersectPoint (EnumTopoShapeType type, int primitiveIdx, Vector3d pos, double dist, int subDrawId, Vector3d normal)
 
 IntersectPoint (EnumTopoShapeType type, int primitiveIdx, Vector3d pos, double dist, int subDrawId)
 
 IntersectPoint (EnumTopoShapeType type, int primitiveIdx, Vector3d pos, double dist)
 
 IntersectPoint (EnumTopoShapeType type, int primitiveIdx)
 
int GetShapeIndex ()
 
void SetShapeIndex (int val)
 
int GetPrimitiveIndex ()
 
void SetPrimitiveIndex (int val)
 
double GetDistance ()
 
void SetDistance (double val)
 
Vector3d GetPosition ()
 
Vector3d GetNormal ()
 
void SetNormal (Vector3d val)
 
Vector3d GetLocalPosition ()
 
void SetLocalPosition (Vector3d val)
 
EnumTopoShapeType GetShapeType ()
 
void SetShapeType (EnumTopoShapeType val)
 
int GetTopoShapeId ()
 
void SetTopoShapeId (int val)
 
int GetSubDrawId ()
 
void SetSubDrawId (int val)
 
boolean IsNull ()
 
boolean AlmostEqual (IntersectPoint other)
 
void Transform (Matrix4d trf)
 
void ApplyPickOrder (double order)
 

详细描述

<> 拾取点信息.

构造及析构函数说明

◆ IntersectPoint()

IntersectPoint.IntersectPoint ( Vector3d pos,
Vector3d normal )

只记录点和方向

参数
pos位置
normal方向

成员函数说明

◆ AlmostEqual()

boolean IntersectPoint.AlmostEqual ( IntersectPoint other)

同一个拓扑就算相对

参数
other比较对象
返回
true相等

◆ ApplyPickOrder()

void IntersectPoint.ApplyPickOrder ( double order)

设置选择优先级

参数
order

◆ Transform()

void IntersectPoint.Transform ( Matrix4d trf)

局部点变换为全局点

参数
trf