public class ToWKB extends GeometryOperation
Modifier and Type | Field and Description |
---|---|
static int |
CODE |
static String |
NAME |
OPERATION_CONTAINS_CODE, OPERATION_CONTAINS_NAME, OPERATION_INTERSECTS_CODE, OPERATION_INTERSECTS_NAME
Constructor and Description |
---|
ToWKB() |
Modifier and Type | Method and Description |
---|---|
int |
getOperationIndex()
Returns the constant value that identifies this operation and that was obtained upon registering it.
|
Object |
invoke(Geometry geom,
GeometryOperationContext ctx)
Invokes this operation given the geometry and context
|
public static final String NAME
public static final int CODE
public Object invoke(Geometry geom, GeometryOperationContext ctx)
GeometryOperation
invoke
in class GeometryOperation
geom
- Geometry to which apply this operationctx
- Parameter containerpublic int getOperationIndex()
GeometryOperation
getOperationIndex
in class GeometryOperation