|
AnyCAD Rapid API 2026
Help you to create a better world!
|
射线 更多...
Public 成员函数 | |
| RayF (global::System.IntPtr cPtr, bool cMemoryOwn) | |
| 仅供内部使用 | |
| void | Dispose () |
| RayF (Vector3 origin, Vector3 direction) | |
| void | setOrigin (Vector3 origin) |
| Sets the origin of the ray. | |
| Vector3 | getOrigin () |
| Gets the origin of the ray. | |
| void | setDirection (Vector3 dir) |
| Sets the direction of the ray. | |
| Vector3 | getDirection () |
| Gets the direction of the ray. | |
| Vector3 | getPoint (float t) |
| Gets the position of a point t units along the ray. | |
| RayIntersectF | intersects (PlaneF p) |
| RayIntersectF | intersects (BoundedVolume p) |
| RayIntersectF | intersects (SphereF s) |
| RayIntersectF | intersects (AABoxF box) |
| bool | IsVertexOn (Vector3 vertex) |
| return true if the vertex is on the ray | |
| void | applyMatrix (Matrix4 trf) |
| float | projectPoint (Vector3 pt) |
射线
Group: Common
| RayIntersectF AnyCAD.Foundation.RayF.intersects | ( | AABoxF | box | ) |
Tests whether this ray intersects the given box.
| RayIntersectF AnyCAD.Foundation.RayF.intersects | ( | BoundedVolume | p | ) |
Tests whether this ray intersects the given plane bounded volume.
| RayIntersectF AnyCAD.Foundation.RayF.intersects | ( | PlaneF | p | ) |
Tests whether this ray intersects the given plane.
| RayIntersectF AnyCAD.Foundation.RayF.intersects | ( | SphereF | s | ) |
Tests whether this ray intersects the given sphere.