A 3d Ray
More...
◆ Ray()
pluginbase.Helpers.Geometry.Ray.Ray |
( |
Vector3d |
point, |
|
|
Vector3d |
direction |
|
) |
| |
Initializes a new instance of the pluginbase.Helpers.Geometry.Ray struct.
- Parameters
-
point | Point. |
direction | Direction. |
Vector3d Point
The start point of the ray
Definition: Ray.cs:14
Vector3d Direction
The direction of the ray
Definition: Ray.cs:19
◆ FromSegment()
static Ray pluginbase.Helpers.Geometry.Ray.FromSegment |
( |
Segment |
segment | ) |
|
|
static |
Get a ray from a segment without any end
- Returns
- The segment.
- Parameters
-
39 return new Ray(segment.Start, segment.Direction);
Ray(Vector3d point, Vector3d direction)
Initializes a new instance of the pluginbase.Helpers.Geometry.Ray struct.
Definition: Ray.cs:26
◆ ProjectPoint()
Vector3d pluginbase.Helpers.Geometry.Ray.ProjectPoint |
( |
Vector3d |
center | ) |
|
Project a point on the ray at a right angle from the ray to the center
- Returns
- The point.
- Parameters
-
Vector3d Point
The start point of the ray
Definition: Ray.cs:14
Vector3d Direction
The direction of the ray
Definition: Ray.cs:19
◆ Direction
Vector3d pluginbase.Helpers.Geometry.Ray.Direction |
◆ Point
Vector3d pluginbase.Helpers.Geometry.Ray.Point |
The start point of the ray
The documentation for this struct was generated from the following file:
- pluginbase/Helpers/Geometry/Ray.cs