public interface MPolygon3d extends Polygon3d
Modifier and Type | Method and Description |
---|---|
static MPolygon3d |
create(List<? extends Vector3d> vertices)
Creates a polygon with the given vertices.
|
static MPolygon3d |
create(Polygon3d polygon)
Creates a polygon with the contents deep copied from the given polygon.
|
void |
transform(Matrix4d transformMatrix)
Transforms this polygon using the given matrix.
|
void |
translate(Vector3d translator)
Translates this polygon by the given vector.
|
contains, contains, edgesIntersect, getArea, getBoundingBox, getCentroid, getEdgeIterator, getMean, getNormal, getVertexCount, getVertices, intersect, intersects, isConvex
forEach, iterator, spliterator
void translate(Vector3d translator)
translator
- the vector by which this polygon is translatedvoid transform(Matrix4d transformMatrix)
transformMatrix
- the matrix that defines the transformstatic MPolygon3d create(Polygon3d polygon)
static MPolygon3d create(List<? extends Vector3d> vertices)
Copyright © 2019 Solibri, Inc.. All rights reserved.