Class Ray
Infinite 3d ray starting at a point.
Inheritance
System.Object
    Ray
  Namespace: Paramdigma.Core.Geometry
Assembly: Paramdigma.Core.dll
Syntax
public class Ray : object
  Constructors
| Improve this Doc View SourceRay(Point3d, Vector3d)
Initializes a new instance of the Ray class with origin and direction.
Declaration
public Ray(Point3d origin, Vector3d direction)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Point3d | origin | Point representing the origin of the ray.  | 
      
| Vector3d | direction | Vector representing the direction of the ray.  | 
      
Properties
| Improve this Doc View SourceDirection
Gets or sets the direction vector of the ray.
Declaration
public Vector3d Direction { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Vector3d | 
Origin
Gets or sets the origin point of the ray.
Declaration
public Point3d Origin { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Point3d | 
Methods
| Improve this Doc View SourcePointAt(Double)
Computes a point in the ray at the given parameter.
Declaration
public Point3d PointAt(double t)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Double | t | Parameter to obtain point.  | 
      
Returns
| Type | Description | 
|---|---|
| Point3d | Returns a point at the specified parameter of the Ray.  |