Package com.solibri.geometry.primitive3d
Interface MPolygon3d
- All Known Subinterfaces:
- MRectangle3d,- MTriangle3d
Interface for handling simple polygons without holes in 3-dimensional space.
- Since:
- 9.10.2
- 
Method SummaryModifier and TypeMethodDescriptionstatic MPolygon3dCreates a polygon with the contents deep copied from the given polygon.static MPolygon3dCreates a polygon with the given vertices.voidTransforms this polygon using the given matrix.voidTranslates this polygon by the given vector.Methods inherited from interface java.lang.IterableforEach, iterator, spliteratorMethods inherited from interface com.solibri.geometry.primitive3d.Polygon3dcontains, contains, edgesIntersect, getArea, getBoundingBox, getCentroid, getEdgeIterator, getMean, getNormal, getVertexCount, getVertices, intersect, intersects, isConvex
- 
Method Details- 
translateTranslates this polygon by the given vector.- Parameters:
- translator- the vector by which this polygon is translated
- Since:
- 9.10.2
 
- 
transformTransforms this polygon using the given matrix.- Parameters:
- transformMatrix- the matrix that defines the transform
- Since:
- 9.10.2
 
- 
createCreates a polygon with the contents deep copied from the given polygon. The returned polygon does not take ownership of the given polygon.- Parameters:
- polygon- the polygon whose contents are deep copied into the returned polygon
- Returns:
- a polygon with the contents deep copied from the given polygon
- Since:
- 9.10.2
 
- 
createCreates a polygon with the given vertices. The returned polygon does not take ownership of the given vertices.- Parameters:
- vertices- the vertices used for creating the returned polygon
- Returns:
- a polygon with the given vertices
- Since:
- 9.10.2
 
 
-