Class MCoordinateSequenceFactory

java.lang.Object
org.gvsig.fmap.geom.jts.mgeom.MCoordinateSequenceFactory
All Implemented Interfaces:
com.vividsolutions.jts.geom.CoordinateSequenceFactory, Serializable

public class MCoordinateSequenceFactory extends Object implements com.vividsolutions.jts.geom.CoordinateSequenceFactory, Serializable
Creates MCoordinateSequenceFactory internally represented as an array of MCoordinates.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    com.vividsolutions.jts.geom.CoordinateSequence
    create(int size, int dimension)
    Creates a MCoordinateSequence instance initialized to the size parameter.
    com.vividsolutions.jts.geom.CoordinateSequence
    create(com.vividsolutions.jts.geom.Coordinate[] coordinates)
    Returns an MCoordinateSequence based on the given array -- the array is used directly if it is an instance of MCoordinate[]; otherwise it is copied.
    com.vividsolutions.jts.geom.CoordinateSequence
    create(com.vividsolutions.jts.geom.CoordinateSequence coordSeq)
     
    Returns the singleton instance of MCoordinateSequenceFactory

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • instance

      public static MCoordinateSequenceFactory instance()
      Returns the singleton instance of MCoordinateSequenceFactory
    • create

      public com.vividsolutions.jts.geom.CoordinateSequence create(com.vividsolutions.jts.geom.Coordinate[] coordinates)
      Returns an MCoordinateSequence based on the given array -- the array is used directly if it is an instance of MCoordinate[]; otherwise it is copied.
      Specified by:
      create in interface com.vividsolutions.jts.geom.CoordinateSequenceFactory
    • create

      public com.vividsolutions.jts.geom.CoordinateSequence create(com.vividsolutions.jts.geom.CoordinateSequence coordSeq)
      Specified by:
      create in interface com.vividsolutions.jts.geom.CoordinateSequenceFactory
    • create

      public com.vividsolutions.jts.geom.CoordinateSequence create(int size, int dimension)
      Creates a MCoordinateSequence instance initialized to the size parameter. Note that the dimension argument is ignored.
      Specified by:
      create in interface com.vividsolutions.jts.geom.CoordinateSequenceFactory
      See Also:
      • CoordinateSequenceFactory.create(int, int)