|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.sde.sdk.client.SeLayerGrid
public class SeLayerGrid
This class provides the capability to calculate a reasonable set of index grid values for a set of features in a layer. The new set of index grid values are calculated by using the envelopes of the selected set of features.
Field Summary | |
---|---|
static int |
GSIZE_MULT
|
Constructor Summary | |
---|---|
SeLayerGrid(double xyunits)
This constuctor creates a properly initialized layer grid object. |
|
SeLayerGrid(SeCoordinateReference coordref)
This constuctor creates a properly initialized layer grid object. |
Method Summary | |
---|---|
void |
applyEnvelope(SeExtent envelope)
This method applies the given envelope, of a shape, to the index grid being calculated. |
void |
applyShape(SeShape shape)
This method applies a shape to the index grid being calculated. |
double[] |
getGridSizes()
This function returns the calculated grid sizes for the layer, using information applied against the layer grid object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static int GSIZE_MULT
Constructor Detail |
---|
public SeLayerGrid(double xyunits) throws SeException
applyShape(com.esri.sde.sdk.client.SeShape)
OR applyEnvelope(com.esri.sde.sdk.client.SeExtent)
- to add statistics about shapes.
getGridSizes()
- to generate and retrieve the calculated grid sizes
xyunits
- the scale factor to use while calculating
the grid sizes.
SeException
public SeLayerGrid(SeCoordinateReference coordref) throws SeException
applyShape(com.esri.sde.sdk.client.SeShape)
OR applyEnvelope(com.esri.sde.sdk.client.SeExtent)
- to add statistics about shapes.
getGridSizes()
- to generate and retrieve the calculated grid sizes
coordref
- a valid SeCoordindateReference object.
SeException
Method Detail |
---|
public void applyShape(SeShape shape) throws SeException
shape
- a valid SeShape object.
SeException
public void applyEnvelope(SeExtent envelope) throws SeException
envelope
- the envelope of a shape object.
SeException
public double[] getGridSizes() throws SeException
SeException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |