Class PointBoundingBox
java.lang.Object
org.eclipse.mosaic.lib.perception.objects.PointBoundingBox
- All Implemented Interfaces:
Serializable,SpatialObjectBoundingBox
This bounding box can be used for objects that should be treated to have a single-point position and not span into any dimensions.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns all corners spanning the 2D bounding box of aSpatialObjectas global coordinates.Returns all sides spanning the 2D bounding box of aSpatialObjectasedgesin the global coordinate system.inthashCode()
-
Constructor Details
-
PointBoundingBox
-
-
Method Details
-
getAllCorners
Description copied from interface:SpatialObjectBoundingBoxReturns all corners spanning the 2D bounding box of aSpatialObjectas global coordinates.- Specified by:
getAllCornersin interfaceSpatialObjectBoundingBox
-
getAllEdges
Description copied from interface:SpatialObjectBoundingBoxReturns all sides spanning the 2D bounding box of aSpatialObjectasedgesin the global coordinate system.- Specified by:
getAllEdgesin interfaceSpatialObjectBoundingBox
-
equals
-
hashCode
public int hashCode()
-