ixfx
    Preparing search index...

    Functions for working with right-angled triangles, defined by two of three edges

    Functions

    adjacentFromHypotenuse

    Returns the adjecent length of a right-angle triangle, marked here

    adjacentFromOpposite

    Returns the adjecent length of a right-angle triangle, marked here

    angleAtPointA

    Angle (in radians) between hypotenuse and adjacent edge

    angleAtPointB

    Angle (in radians) between opposite edge and hypotenuse

    area
    circumcircle

    The circle which passes through the points of the triangle

    fromA

    Returns a positioned triangle from a point for A.

    fromB

    Returns a positioned triangle from a point for B.

    fromC

    Returns a positioned triangle from a point for C.

    height

    Height of right-triangle

    hypotenuseFromAdjacent

    Returns the hypotenuse length of a right-angle triangle, marked here

    hypotenuseFromOpposite

    Returns the hypotenuse length of a right-angle triangle, marked here

    hypotenuseSegments

    Returns the lengths of the hypotenuse split into p and q segments. In other words, if one makes a line from the right-angle vertex down to hypotenuse.

    incircle

    Circle enclosed by triangle

    medians

    Returns the median line lengths a, b and c in an array.

    oppositeFromAdjacent

    Returns the opposite length of a right-angle triangle, marked here

    oppositeFromHypotenuse

    Returns the opposite length of a right-angle triangle, marked here

    perimeter
    resolveLengths

    Returns a right triangle with all lengths defined. At least two lengths must already exist

    Type Aliases

    DefinedRight