ixfx
    Preparing search index...

    Functions for working with equilateral triangles, defined by length

    Functions

    area
    centerFromA

    Calculate center from the given point A

    centerFromB

    Calculate center from the given point B

    centerFromC

    Calculate center from the given point C

    circumcircle

    Circle that encompasses all points of triangle

    fromCenter

    Returns a positioned Triangle from an equilateral triangle definition. By default the rotation is such that point a and c are lying on the horizontal, and b is the upward-facing tip.

    height

    Returns the height (or rise) of an equilateral triangle. Ie. from one vertex to the perpendicular edge. (line marked x in the diagram below)

    incircle

    Circle that is inside the edges of the triangle

    perimeter

    Type Aliases

    TriangleEquilateral