AnyCAD Rapid API 2024
Help you to create a better world!
|
Public 成员函数 | |
void | setPlanes (PlaneFList value) |
PlaneFList | getPlanes () |
void | setOutside (EnumPlaneSide value) |
EnumPlaneSide | getOutside () |
BoundedVolume (EnumPlaneSide theOutside) | |
boolean | intersects (AABoxF box) |
boolean | intersects (SphereF sphere) |
RayIntersectF | intersects (RayF ray) |
<> Represents a convex volume bounded by planes.
BoundedVolume.BoundedVolume | ( | EnumPlaneSide | theOutside | ) |
Constructor, determines which side is deemed to be 'outside'
boolean BoundedVolume.intersects | ( | AABoxF | box | ) |
Intersection test with AABB
Remarks: May return false positives but will never miss an intersection.
RayIntersectF BoundedVolume.intersects | ( | RayF | ray | ) |
Intersection test with a Ray