-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.interfaces.geometry.GeometricShape,java.io.Serializable
public interface ConvexGeometricShape<V extends Vector<V>, A extends GeometricTransformation<V>> implements GeometricShape<V, A>
A convex GeometricShape.
This interface models a property instead of an object, this may be unusual but consider it as a contract: interfaces are often said to be contracts the implementor has to comply, the contract defined by this interface implies convexity.
-
-
Method Summary
Modifier and Type Method Description abstract VgetCentroid()abstract DoublegetDiameter()DoublegetRadius()-
-
Method Detail
-
getCentroid
abstract V getCentroid()
-
getDiameter
abstract Double getDiameter()
-
-
-
-