public interface MRectangle3d extends Rectangle3d, MPolygon3d
| Modifier and Type | Method and Description |
|---|---|
static MRectangle3d |
create(List<? extends Vector3d> vertices)
Creates a new instance from the given points.
|
static MRectangle3d |
create(Rectangle3d other)
Creates a new instance.
|
void |
resize(double resize)
Resizes the rectangle by the given amount by adding the resize amount
as tolerance to each side of the rectangle.
|
boolean |
setPoints(List<? extends Vector3d> points)
Sets the given points to the rectangle.
|
getLongerRectangleSegment, getLongerRectangleSegmentLength, getLongerRectangleSegments, getShorterRectangleSegment, getShorterRectangleSegmentLength, getShorterRectangleSegmentscreate, transform, translatecontains, contains, edgesIntersect, getArea, getBoundingBox, getCentroid, getEdgeIterator, getMean, getNormal, getVertexCount, getVertices, intersect, intersects, isConvexforEach, iterator, spliteratorvoid resize(double resize)
resize - the resize amountboolean setPoints(List<? extends Vector3d> points)
points - list of pointsstatic MRectangle3d create(List<? extends Vector3d> vertices)
create in interface MPolygon3dcreate in interface Polygon3dcreate in interface Rectangle3dvertices - list of points to create the rectangleIllegalArgumentException - if the points do not form a rectanglestatic MRectangle3d create(Rectangle3d other)
create in interface Rectangle3dother - the other rectangleCopyright © 2019 Solibri, Inc.. All rights reserved.