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

Represents a convex volume bounded by planes. 更多...

类 AnyCAD.Foundation.BoundedVolume 继承关系图:

Public 成员函数

 BoundedVolume (global::System.IntPtr cPtr, bool cMemoryOwn)
 仅供内部使用
 
void Dispose ()
 
 BoundedVolume (EnumPlaneSide theOutside)
 Constructor, determines which side is deemed to be 'outside'
 
bool intersects (AABoxF box)
 
bool intersects (SphereF sphere)
 
RayIntersectF intersects (RayF ray)
 

属性

PlaneFList planes [get, set]
 
EnumPlaneSide outside [get, set]
 

详细描述

Represents a convex volume bounded by planes.

Group: Common

成员函数说明

◆ intersects() [1/3]

bool AnyCAD.Foundation.BoundedVolume.intersects ( AABoxF box)

Intersection test with AABB

May return false positives but will never miss an intersection.

◆ intersects() [2/3]

RayIntersectF AnyCAD.Foundation.BoundedVolume.intersects ( RayF ray)

Intersection test with a Ray

返回
std::pair of hit (bool) and distance

May return false positives but will never miss an intersection.

◆ intersects() [3/3]

bool AnyCAD.Foundation.BoundedVolume.intersects ( SphereF sphere)

Intersection test with Sphere

May return false positives but will never miss an intersection.