Hide menu
Loading...
Searching...
No Matches
Line2d

Defines 2D line. A line is defined by point and direction.

Extends

Constructors

new Line2d()

new Line2d(location, direction): Line2d

Parameters

location

Point2d

Origin point.

direction

Direction2d

Returns

Line2d

Overrides

Curve2d.constructor

Properties

direction

readonly direction: Direction2d


location

readonly location: Point2d

Origin point.


type

readonly type: CurveType = CurveType.UNDEFINED

Type of the curve.

Inherited from

Curve2d.type

Accessors

id

Get Signature

get id(): bigint

Returns object id.

Returns

bigint

Inherited from

Curve2d.id