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