Interface GridCoordinatesFactory


  • public interface GridCoordinatesFactory
    This is the primary method of constructing GridCoordinates. Each GridCoordinatesFactory is associated with a single backing data type (e.g., byte, short, or integer), and is capable of manufacturing GridCoordinates of a specified dimensionality. Specialized methods are provided to create GridCoordinates objects which are initialized to the supplied two, three or four-dimensional values.
    • Method Detail

      • createCoordinates

        GridCoordinates createCoordinates​(int dimensions)
        Allows the user to specify the dimensionality of the desired GridCoordinates object, but does not specify the initial values. This will create an uninitialized object of the desired dimensionality if this factory is capable of it.
      • createCoordinates

        GridCoordinates createCoordinates​(int x0,
                                          int x1)
      • createCoordinates

        GridCoordinates createCoordinates​(int x0,
                                          int x1,
                                          int x2)
      • createCoordinates

        GridCoordinates createCoordinates​(int x0,
                                          int x1,
                                          int x2,
                                          int x3)