Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Triangle

A shape that is a segment. A shape that is a segment.

Hierarchy

  • Triangle

Index

Constructors

Properties

Methods

Constructors

constructor

  • Creates a new triangle shape.

    Parameters

    • a: Vector

      The first point of the triangle.

    • b: Vector

      The second point of the triangle.

    • c: Vector

      The third point of the triangle.

    Returns Triangle

  • Creates a new triangle shape.

    Parameters

    • a: Vector

      The first point of the triangle.

    • b: Vector

      The second point of the triangle.

    • c: Vector

      The third point of the triangle.

    Returns Triangle

Properties

Readonly a

The first point of the triangle. The first point of the triangle.

Readonly b

The second point of the triangle. The second point of the triangle.

Readonly c

The second point of the triangle. The second point of the triangle.

Methods

intoRaw

  • intoRaw(): RawShape
  • intoRaw(): RawShape
  • Returns RawShape

  • Returns RawShape

Generated using TypeDoc