Polygon3
class Polygon3(vertices: List<Vec3>, val precision: DoubleEquivalence = DEFAULT_DOUBLE_EQUIVALENCE) : Polygon<Vec3> (source)
Represents a planar polygon in three-dimensional space.
The vertices are copied on construction and must include at least one non-collinear triple. The polygon may begin with collinear vertices; the plane is inferred from any valid triple and all vertices must lie in that plane.
Properties
Functions
Link copied to clipboard
Computes the axis-aligned bounding box of the polygon.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the number of dimensions of the spatial object.
Link copied to clipboard
Returns true if any value in the spatial is infinite.
Link copied to clipboard
Computes the signed area of the polygon.