Class: DefPerpendicularLine

algeobra~DefPerpendicularLine()

Definition of a perpendicular line going through a point

Constructor

new DefPerpendicularLine()

Source:

Methods

compute(createInfo) → {Object}

Computes the perpendicular line
Parameters:
Name Type Description
createInfo CreateInfo The creation info
Source:
Returns:
The line with TYPE_LINE
Type
Object

(static) fromVectorsOrLine(params) → {CreateInfo}

Creates a new perpendicular line from a vector or a line. The line will use the first point of a line or the vector reference as a point through which it goes
Parameters:
Name Type Description
params Object
Properties
Name Type Attributes Description
v Number | Object Either the index or value of a TYPE_POINT | TYPE_LINE. The vector or line
ref Number | Object <optional>
Either the index or value of a TYPE_POINT. The reference point
Source:
Returns:
The creation info
Type
CreateInfo