Face class
Properties
- a ↔ Vector3
-
latefinal
- active ↔ bool
-
getter/setter pairinherited
- b ↔ Vector3
-
latefinal
- c ↔ Vector3
-
latefinal
- centroid → Vector3
-
finalinherited
- edge ↔ HalfEdge?
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- outside ↔ Vertex?
-
getter/setter pair
- plane → Plane
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
computeCentroid(
) → Polygon -
Computes the centroid for this polygon.
inherited
-
contains(
Vector3 point, [double epsilon = 1e-3]) → bool -
Returns true if the polygon contains the given point.
inherited
-
convex(
[bool ccw = true]) → bool -
Returns true if the polygon is convex.
inherited
-
coplanar(
[double epsilon = 1e-3]) → bool -
Returns true if the polygon is coplanar.
inherited
-
distanceToPoint(
Vector3 point) → double -
Computes the signed distance from the given 3D vector to this polygon. The method
uses the polygon's plane abstraction in order to compute this value.
inherited
-
fromContour(
List< Vector3> points) → Polygon -
Creates the polygon based on the given array of points in 3D space.
The method assumes the contour (the sequence of points) is defined
in CCW order.
inherited
-
getContour(
List< Vector3> result) → List<Vector3> -
Determines the contour (sequence of points) of this polygon and
stores the result in the given array.
inherited
-
getEdge(
int i) → HalfEdge? -
override
-
leftOn(
Vector3 a, Vector3 b, Vector3 c) → bool -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited