org.geotools.data.oracle.sdo
Interface CoordinateAccessFactory

All Superinterfaces:
com.vividsolutions.jts.geom.CoordinateSequenceFactory

public interface CoordinateAccessFactory
extends com.vividsolutions.jts.geom.CoordinateSequenceFactory

Extends CoordianteSequenceFactory with meta data information.

This allows us to determine the dimensions of a Geometry.

Author:
jgarnett

Method Summary
 CoordinateAccess create(double[][] xyz, java.lang.Object[] attributes)
          Create method that allows additional content.
 int getDimension()
          Number of spatial ordinates()
 int getNumAttributes()
          Number of non spatial ordinates()
 
Methods inherited from interface com.vividsolutions.jts.geom.CoordinateSequenceFactory
create, create, create
 

Method Detail

create

public CoordinateAccess create(double[][] xyz,
                               java.lang.Object[] attributes)
Create method that allows additional content.

Example: (x,y,z,t) getDimension()==2, getNumAttributes()==2


 xyz:[ [ x1, x2,...,xN], [ y1, y2,...,yN] ]
 attributes:[ [ z1, z2,...,zN], [ t1, t2,..., tN] ]
 


getDimension

public int getDimension()
Number of spatial ordinates()


getNumAttributes

public int getNumAttributes()
Number of non spatial ordinates()



Copyright © GeoTools. All Rights Reserved.