org.geotools.data.oracle.sdo
Interface CoordinateAccessFactory

All Superinterfaces:
CoordinateSequenceFactory

public interface CoordinateAccessFactory
extends CoordinateSequenceFactory

Extends CoordianteSequenceFactory with meta data information.

This allows us to determine the dimensions of a Geometry.

Author:
jgarnett
Module:
modules/plugin/jdbc-oracle (gt-jdbc-oracle.jar)

Method Summary
 CoordinateAccess create(double[][] xyz, 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 CoordinateSequenceFactory
create, create, create
 

Method Detail

create

CoordinateAccess create(double[][] xyz,
                        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] ]
 

Parameters:
xyz - an array of doubles in column major order where xyz.length == getDimension()
attributes - an array of Objects which can be null. Column major measure arrays where attributes.length == getNumAttributes()

getDimension

int getDimension()
Number of spatial ordinates()


getNumAttributes

int getNumAttributes()
Number of non spatial ordinates()



Copyright © 1996-2010 Geotools. All Rights Reserved.