Package geomss.geom

Interface PointGeometry<T extends PointGeometry>

    • Method Detail

      • getNumberOfPoints

        int getNumberOfPoints()
        Return the total number of points in this geometry element.
        Returns:
        The total number of points in this geometry element.
      • to

        T to​(javax.measure.unit.Unit<javax.measure.quantity.Length> unit)
        throws javax.measure.converter.ConversionException
        Returns the equivalent to this point geometry object but stated in the specified unit.
        Specified by:
        to in interface GeomElement<T extends PointGeometry>
        Parameters:
        unit - the length unit of the point geometry to be returned.
        Returns:
        an equivalent to this point geometry object but stated in the specified unit.
        Throws:
        javax.measure.converter.ConversionException - if the the input unit is not a length unit.