Hide menu
Loading...
Searching...
No Matches
Line

Defines a 3D line.

A line is defined by its location and direction.

Extends

Constructors

Constructor

new Line(location, direction): Line

Creates a line from a point and direction.

The provided point and direction are copied.

Parameters

location

Point

Origin point of the line.

direction

Direction

Direction of the line.

Returns

Line

Overrides

Curve.constructor

Properties

direction

readonly direction: Direction

Direction of the line.


location

readonly location: Point

Origin point of the line.

Accessors

id

Get Signature

get id(): bigint

Returns the unique identifier of the object.

Returns

bigint

Inherited from

Curve.id


type

Get Signature

get type(): CurveType

Type of the curve.

Returns

CurveType

Inherited from

Curve.type