Equilateral triangle

Constructs an equilateral triangle.

Syntax

equilateral_triangle(Point, Real, Real)
equilateral_triangle(Point, Real)
equilateral_triangle(Segment)
equilateral_triangle(Point, Point)

Description

Given a point O and two reals r and ω, constructs an equilateral triangle with barycenter OLaTeXO, distance between OLaTeXO and the vertices rLaTeXr, and the first vertex located at angle ωLaTeX\omega.

calc.equilateral_triangle1.calc.png

Given a point OLaTeXO and two reals rLaTeXr, constructs an equilateral triangle with barycenter OLaTeXO and such that the distance between OLaTeXO and the vertices is rLaTeXr.

calc.equilateral_triangle2.calc.png

Given a segment, constructs an equilateral triangle with such segment as an edge.

calc.equilateral_triangle3.calc.png

Given two points A and B, constructs an equilateral triangle where two of the vertices are ALaTeXA and BLaTeXB.

calc.equilateral_triangle4.calc.png