Interface GeomFactory1afp<P extends Point1D<? super P,​? super V,​? super S>,​V extends Vector1D<? super V,​? super P,​? super S>,​S extends Segment1D<?,​?>,​B extends Rectangle1afp<?,​?,​P,​V,​S,​B>>

  • Type Parameters:
    P - is the type of the points.
    V - is the type of the vectors.
    S - is the type of the segments.
    B - is the type of the bounding boxes.
    All Superinterfaces:
    GeomFactory1D<V,​P>, GeomFactoryBase
    All Known Implementing Classes:
    GeomFactory1d, GeomFactory1dfx

    public interface GeomFactory1afp<P extends Point1D<? super P,​? super V,​? super S>,​V extends Vector1D<? super V,​? super P,​? super S>,​S extends Segment1D<?,​?>,​B extends Rectangle1afp<?,​?,​P,​V,​S,​B>>
    extends GeomFactory1D<V,​P>
    Factory of geometrical elements.
    Since:
    14.0
    Version:
    17.0 2020-01-04 14:41:43
    Author:
    Stéphane GALLAND
    Maven Group Id:
    org.arakhne.afc.core
    Maven Artifact Id:
    mathgeom
    • Method Detail

      • newBox

        B newBox​(S segment)
        Create an empty bounding box.
        Parameters:
        segment - the segment.
        Returns:
        the box.
      • newBox

        B newBox​(S segment,
                 double x,
                 double y,
                 double width,
                 double height)
        Create a bounding box.
        Parameters:
        segment - the segment.
        x - the x coordinate of the lower corner.
        y - the y coordinate of the lower corner.
        width - the width of the box.
        height - the height of the box.
        Returns:
        the box.