• Articles
  • Api Documentation
Show / Hide Table of Contents
  • Paramdigma.Core
    • Convert
    • Intersect3D
    • Intersect3D.LineLineIntersectionResult
    • Intersect3D.LineLineIntersectionStatus
    • Intersect3D.LinePlaneIntersectionStatus
    • Intersect3D.RayFacePerimeterIntersectionStatus
    • Settings
  • Paramdigma.Core.Collections
    • Interval
    • Matrix<T>
  • Paramdigma.Core.Curves
    • Geodesics
    • LevelSets
  • Paramdigma.Core.Exceptions
    • UnsetGeometryException
  • Paramdigma.Core.Extensions
    • Lists
  • Paramdigma.Core.Geometry
    • BaseCurve
    • BasePoint
    • Box
    • Circle
    • Cylinder
    • Delaunay
    • InvalidCurveException
    • Line
    • Line2d
    • Mesh
    • MeshCorner
    • MeshEdge
    • MeshFace
    • MeshGeometry
    • MeshHalfEdge
    • MeshPoint
    • MeshTopology
    • MeshVertex
    • NurbsCurve
    • NurbsSurface
    • Plane
    • Point2d
    • Point3d
    • Point4d
    • Polyline
    • Polyline2d
    • Ray
    • Ray2d
    • Rectangle2d
    • Sphere
    • Torus
    • Vector2d
    • Vector3d
    • VectorNd
  • Paramdigma.Core.Geometry.Interfaces
    • ICurve
    • ISurface
    • IVector
  • Paramdigma.Core.IO
    • CsvReader
    • CsvWritter
    • OBJMeshData
    • ObjReader
    • ObjWritter
    • OffMeshData
    • OffReader
    • OffResult
    • OffWriter
  • Paramdigma.Core.LinearAlgebra
    • Complex
    • LeastSquaresLinearFit
    • Triplet
    • TripletData
  • Paramdigma.Core.Optimization
    • GradientDescent
    • GradientDescent.FitnessFunction
    • GradientDescentOptions
    • GradientDescentResult
    • KMeansCluster
    • KMeansClustering
    • KMeansClustering.IterationCompletedEventArgs
  • Paramdigma.Core.Spatial
    • DelaunayEdge
    • DelaunayPoint
    • DelaunayTriangle
    • Octree
    • PointCloud
    • PointCloudMember
    • QuadTree

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 Source

Ray(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 Source

Direction

Gets or sets the direction vector of the ray.

Declaration
public Vector3d Direction { get; set; }
Property Value
Type Description
Vector3d
| Improve this Doc View Source

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 Source

PointAt(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.

  • Improve this Doc
  • View Source
Back to top Generated by DocFX