Triangle class
Methods
-
clone()
→ Triangle
-
-
closestPointToPoint(Vector3 p, Vector3 target)
→ Vector3
-
-
containsPoint(Vector3 point)
→ bool
-
-
copy(Triangle triangle)
→ Triangle
-
-
equals(Triangle triangle)
→ bool
-
-
getArea()
→ double
-
-
getBarycoord(Vector3 point, Vector3 target)
→ Vector3
-
-
getMidpoint(Vector3 target)
→ Vector3
-
-
getNormal(Vector3 target)
→ Vector3
-
-
getPlane(Plane target)
→ Plane
-
-
getUV(Vector3 point, Vector2 uv1, Vector2 uv2, Vector2 uv3, Vector target)
→ dynamic
-
-
getValue(Object? key)
→ Vector3
-
-
isFrontFacing(Vector3 direction)
→ bool
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
set(Vector3 a, Vector3 b, Vector3 c)
→ Triangle
-
-
setFromPointsAndIndices(List<Vector3> points, int i0, int i1, int i2)
→ Triangle
-
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
staticContainsPoint(Vector3 point, Vector3 a, Vector3 b, Vector3 c)
→ bool
-
-
staticGetBarycoord(Vector3 point, Vector3 a, Vector3 b, Vector3 c, Vector3 target)
→ Vector3
-
-
staticGetNormal(Vector3 a, Vector3 b, Vector3 c, Vector3 target)
→ Vector3
-
-
staticGetUV(Vector3 point, Vector3 p1, Vector3 p2, Vector3 p3, Vector2 uv1, Vector2 uv2, Vector2 uv3, Vector target)
→ dynamic
-
-
staticIsFrontFacing(Vector3 a, Vector3 b, Vector3 c, Vector3 direction)
→ bool
-