Constructs a ray whose start point is point1 and passes through point2. point1 must be different from point2.
Public Sub New(
point1 As Point2d,
point2 As Point2d
)
public Ray2d(
Point2d point1,
Point2d point2
);
| Parameters | Description |
|---|---|
| Point2d point1 | Input start point of ray |
| Point2d point2 | Input any 2D point different from point1 |