Interface Sized
- All Known Subinterfaces:
ConvexPolygon3D, HyperplaneBoundedRegion<P>, HyperplaneConvexSubset<P>, HyperplaneSubset<P>, PlaneConvexSubset, PlaneSubset, Region<P>, Triangle3D
- All Known Implementing Classes:
AbstractConvexHyperplaneBoundedRegion, AbstractConvexPolygon3D, AbstractEmbeddedRegionPlaneSubset, AbstractNSphere, AbstractPlaneSubset, AbstractRegionBSPTree, AngularInterval, AngularInterval.Convex, Circle, ConvexArea, ConvexArea2S, ConvexVolume, CutAngle.CutAngleConvexSubset, EmbeddedAreaPlaneConvexSubset, EmbeddedTreeGreatCircleSubset, EmbeddedTreeLineSubset, EmbeddedTreeLineSubset3D, EmbeddedTreePlaneSubset, GreatArc, GreatCircleSubset, Interval, LineConvexSubset, LineConvexSubset3D, LinePath, LinePath.SimplifiedLinePath, LineSpanningSubset, LineSpanningSubset3D, LineSubset, LineSubset3D, OrientedPoint.OrientedPointConvexSubset, Parallelepiped, Parallelogram, Ray, Ray3D, RegionBSPTree1D, RegionBSPTree1S, RegionBSPTree2D, RegionBSPTree2S, RegionBSPTree3D, RegionCutBoundary, ReverseRay, ReverseRay3D, Segment, Segment3D, SimpleTriangle3D, Sphere, VertexListConvexPolygon3D
public interface Sized
Interface representing a geometric element with a size. The exact meaning
of the size will vary between spaces and dimensions. For example, the size
of a line is its length, while the size of a polygon is its area.
-
Method Details
-
getSize
double getSize()Get the size of the instance.- Returns:
- the size of the instance
-
isFinite
default boolean isFinite()Return true if the size of the instance is finite.- Returns:
- true if the size of the instance is finite
-
isInfinite
default boolean isInfinite()Return true if the size of the instance is infinite.- Returns:
- true if the size of the instance is infinite
-