Ray3d.Ray3d(Point3d, Point3d) Constructor

Description

Constructs a ray whose start point is point1 and passes through point2. point1 must be different from point2.

Visual Basic

Public Sub New(
    point1 As Point3d, 
    point2 As Point3d
)

C#

public Ray3d(
    Point3d point1, 
    Point3d point2
);

Parameters

Parameters Description
Point3d point1 Input start point of ray
Point3d point2 Input any 3D point different from point1

Links

Ray3d Class, Autodesk.AutoCAD.Geometry Namespace