POINTVECTOR Object
- Last UpdatedMar 28, 2023
- 2 minute read
Members
|
Name |
Type |
Purpose |
|---|---|---|
|
Direction |
DIRECTION Get/Set |
Direction of point. |
|
Position |
POSITION Get/Set |
Origin of point. |
Definition Methods
|
Name |
Result |
Purpose |
|---|---|---|
|
Pointvector( POSITION, DIRECTION) |
POINTVECTOR |
Creates a POINTVECTOR with the given POSITION and DIRECTION. |
|
String() |
STRING |
Returns a POINTVECTOR as a string. |

Methods that Return POINTVECTORs
|
Name |
Result |
Purpose |
|---|---|---|
|
Offset(REAL) |
POINTVECTOR |
Returns the point vector offset in its direction by the passed distance. |
|
Towards(POSITION) |
POINTVECTOR |
Returns the point vector with the original position and the direction constructed from the position directed to the passed position. |
|
Through(POSITION) |
POINTVECTOR |
Returns the point vector at the intersection of the point line with a plane normal to the point line through the passed position. If the ray lies in the plane of a facet, that facet may not be hit, or may be hit one or more times. |

Methods that Return POSITIONs
|
Name |
Result |
Purpose |
|---|---|---|
|
Intersection(POINTVECTOR) |
POSITION |
Returns the intersection position of the point vectors. |
|
Intersection(LINE) |
POSITION |
Returns the intersection position of the point vector with the supplied line. |
|
Intersection(PLANE) |
POSITION |
Returns the position at the intersection of the point vector with the supplied plane. |

Miscellaneous Methods
|
Name |
Result |
Purpose |
|---|---|---|
|
Intersections(ARC) |
ARRAY OF POSITIONS |
Returns the positions at the intersection of the point vector with the supplied arc. |
|
Plane() |
PLANE |
Returns a plane with an origin equal to the position of the point vector and a normal direction equal to the point vector direction. |
|
Line(REAL) |
LINE |
Returns a line with a start position equal to the position of the point vector, a direction equal to the direction of the point vector and a length equal to the supplied length. |