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