Interface LineWithSettableXAxisAngle

Interface for a line, that can be set by its angle with the x-axis and arbitrary point.

Hierarchy

Properties

a: number

The a coefficient of the line equation in the form of ax + by + c = 0.

arbitraryPoint1: Interfaces.Point

Arbitrary point on the line, that is not equal to Line.arbitraryPoint2.

arbitraryPoint2: Interfaces.Point

Arbitrary point on the line, that is not equal to Line.arbitraryPoint1.

b: number

The b coefficient of the line equation in the form of ax + by + c = 0.

c: number

The c coefficient of the line equation in the form of ax + by + c = 0.

directionalVector: Interfaces.Vector

The directional vector of the line.

The interval of the parameter.

normalVector: Interfaces.Vector

The normal vector of the line. If the line intersects the origin, the normal vector is of size 1, otherwise it is of size of distance of the line to the origin.

objectType: "line"

This object's type, which is "line".

virtual: false

Whether this object is virtual.

xAxisAngle: number

The postitve angle of the line with the x-axis.

Methods

  • Whether this object is equal to another object.
    If the objects are of a different type, this method should return false.
    If the objects are of the same type, this method should return true if the objects are equal, and false if they are not.

    Parameters

    Returns boolean

Generated using TypeDoc