Package de.xima.fc.common.geometry
Interface Rectangular1D<Numerical extends Number>
-
- Type Parameters:
Numerical
- the type of the width
- All Superinterfaces:
Rectangular
,Rectangular1DLike<Numerical>
,Serializable
- All Known Subinterfaces:
Rectangular2DLike<Numerical>
- All Known Implementing Classes:
Rectangular2DDouble
public interface Rectangular1D<Numerical extends Number> extends Rectangular1DLike<Numerical>
A one-dimensional rectangular shape, with only a width.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default int
dimensions()
The dimension of the rectangle.-
Methods inherited from interface de.xima.fc.common.geometry.Rectangular1DLike
length, lengthByte, lengthDouble, lengthFloat, lengthInt, lengthLong, lengthShort, width, widthByte, widthDouble, widthFloat, widthInt, widthLong, widthShort
-
-
-
-
Method Detail
-
dimensions
default int dimensions()
Description copied from interface:Rectangular
The dimension of the rectangle.- Specified by:
dimensions
in interfaceRectangular
- Returns:
- The dimensionality of the rectangle.
-
-