The vector from A to B.
The vector from A to C.
Output option: getAngle gives degrees. Chainable, persistent.
Output option: getAngle gives radians (default). Chainable, persistent.
The vector from B to A.
The vector from B to C.
The vector from C to A.
The vector from C to B.
False when the three vertices are collinear.
The lines of the sides, as {AB, BC, AC}.
The remarkable lines already computed. An entry is null until the matching get*** method is called.
Not implemented on purpose: a triangle has no single equation to display.
always. Describe it through its lines or its vertices.
Full duplicate of this instance, including display state (selected form
and options set via as*** / with***). Distinct from copy.
Angle at a vertex, as a decimal number: in radians by default, in degrees after asDegree.
The vertices [A, B, C].
The vertices sorted by x, then by y.
True when both triangles have the same vertices, whatever their order.
True when the three sides have the same length.
True when two sides have the same length.
True when two sides are perpendicular.
Recompute the validity and forget the cached lines and remarkable lines. This is done automatically when a
vertex changes through its setter or its x and y coordinates.
StaticfromBuild a triangle from the coordinates of its three vertices.
StaticfromStaticfrom
A triangle
ABCof the plane. Built from three points, three lines, or six coordinates. It gives the sides, the angles and the remarkable lines (medians, heights, mediators, bisectors) with exact coordinates.texanddisplayare not available: describe a triangle through its vertices or its lines.Example