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