public interface CoordinateAccessFactory
extends CoordinateSequenceFactory
This allows us to determine the dimensions of a Geometry.
Modifier and Type | Method and Description |
---|---|
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()
|
CoordinateAccess create(double[][] xyz, Object[] attributes)
Example: (x,y,z,t) getDimension()==2, getNumAttributes()==2
xyz:[ [ x1, x2,...,xN], [ y1, y2,...,yN] ]
attributes:[ [ z1, z2,...,zN], [ t1, t2,..., tN] ]
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()int getDimension()
int getNumAttributes()
Copyright © 1996–2023 Geotools. All rights reserved.