Ray2d.Ray2d(Point2d, Point2d) Constructor

Visual Basic
Public Sub New(
    point1 As Point2d, 
    point2 As Point2d
)
C#
public Ray2d(
    Point2d point1, 
    Point2d point2
);
Parameters
Parameters 
Description 
Point2d point1 
Input start point of ray 
Point2d point2 
Input any 2D point different from point1 
Description

 

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

Links