Constructors
constructor
-
Parameters
-
Parameters
-
x1: number
-
y1: number
-
x2: number
-
y2: number
-
x3: number
-
y3: number
Methods
contains
-
Parameters
Returns boolean
distance
- distance(p: Point): number
-
Parameters
Returns number
translate
- translate(x: number, y: number): Triangle