Description
Constructs a ray whose start point is point and whose direction is vector. vector must not be a zero-length vector.
Visual Basic
Public Sub New( point As Point2d, vector As Vector2d )
C#
public Ray2d( Point2d point, Vector2d vector );
Parameters
Parameters | Description |
---|---|
Point2d point | Input start point of ray |
Vector2d vector | Input direction vector of ray |
Conditions
Read-only