public class DrawInts extends GeometryOperation
Modifier and Type | Field and Description |
---|---|
static int |
CODE |
static java.lang.String |
NAME |
OPERATION_CONTAINS_CODE, OPERATION_CONTAINS_NAME, OPERATION_INTERSECTS_CODE, OPERATION_INTERSECTS_NAME
Constructor and Description |
---|
DrawInts() |
Modifier and Type | Method and Description |
---|---|
int |
getOperationIndex()
Returns the constant value that identifies this operation and that was obtained upon registering it.
|
java.lang.Object |
invoke(Geometry geom,
GeometryOperationContext ctx)
Invokes this operation given the geometry and context
|
static void |
register() |
public static final java.lang.String NAME
public static int CODE
public java.lang.Object invoke(Geometry geom, GeometryOperationContext ctx) throws GeometryOperationException
GeometryOperation
invoke
in class GeometryOperation
geom
- Geometry to which apply this operationctx
- Parameter containerGeometryOperationException
- The implementation is responsible to throw this exception when needed.public int getOperationIndex()
GeometryOperation
getOperationIndex
in class GeometryOperation
public static void register()