VertTuple
VertTuple
Private
factoryThe factory is used by the clone
method.
isDestroyed
VertTuple
Readonly
uidThe UID of this drawable object.
VertTuple
Static
Private
vtutilsGet the angle between this and the passed line (in radians).
Optional
line: VertTuple<any>(optional) The line to calculate the angle to. If null the baseline (x-axis) will be used.
this
angle
VertTuple
Get the closest position T from this line to the specified point.
The counterpart for this function is Line.vertAt(Number).
The point (vertex) to measure the distance to.
The line position t of minimal distance to p.
getClosetT
getClosestT
VertTuple
Check if the given point is located on this line. Optionally also check if
that point is located between point a
and b
.
The point to check.
Optional
insideBoundsOnly: boolean[optional] If set to to true (default=false) the point must be between start and end point of the line.
Optional
epsilon: number[optional] A tolerance.
True if the given point is on this line.
hasPoint
VertTuple
The the minimal distance between this line and the specified point.
The point (vertex) to measre the distance to.
The absolute minimal distance.
pointDistance
VertTuple
Classdesc
An abstract base classes for vertex tuple constructs, like Lines or Vectors.
Abstract
Requires
UID
Requires
Vertex
Requires
XYCoords