Class TLcdOGCSpatialOperator
java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.ogc.filter.model.capabilities.TLcdOGCSpatialOperator
- All Implemented Interfaces:
ILcdDataObject
,ILcdCloneable
,ILcdDeepCloneable
,Cloneable
Class representing a spatial operator capability.
The allowed spatial operator names and geometry operands are defined as constants in the
TLcdOGCSpatialFilterCapabilities
class.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTLcdOGCSpatialOperator
(String aName) Constructs a spatial operator with name aName.TLcdOGCSpatialOperator
(String aName, TLcdXMLName[] aGeometryOperands) Constructs a spatial operator with name aName and supported geometry operands aGeometryOperands. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addGeometryOperand
(TLcdXMLName aOperand) Adds the geometry operand aOperand to the list of geometry operands supported by this spatial operator.getGeometryOperand
(int aOperandIndex) Returns the geometry operand at the given index.int
Return the number of geometry operands supported by this spatial operator.getName()
Returns the name of the spatial operator.void
removeGeometryOperand
(TLcdXMLName aOperand) Removes the geometry operand aOperand from the list of geometry operands supported by this spatial operator.
-
Constructor Details
-
TLcdOGCSpatialOperator
Constructs a spatial operator with name aName. The allowed spatial operator names are defined as constants in theTLcdOGCSpatialFilterCapabilities
class.- Parameters:
aName
- the spatial operator name.- See Also:
-
TLcdOGCSpatialOperator
Constructs a spatial operator with name aName and supported geometry operands aGeometryOperands. The allowed spatial operator names and geometry operands are defined as constants in theTLcdOGCSpatialFilterCapabilities
class.- Parameters:
aName
- the spatial operator name.aGeometryOperands
- the geometry operands.- See Also:
-
-
Method Details
-
getName
Returns the name of the spatial operator.- Returns:
- the name of the spatial operator.
-
getGeometryOperandCount
public int getGeometryOperandCount()Return the number of geometry operands supported by this spatial operator.- Returns:
- the number of geometry operands supported by this spatial operator.
-
getGeometryOperands
-
getGeometryOperand
Returns the geometry operand at the given index.- Parameters:
aOperandIndex
- the index of the geometry operand to retrieve- Returns:
- the geometry operand at the given index.
-
addGeometryOperand
Adds the geometry operand aOperand to the list of geometry operands supported by this spatial operator. The allowed geometry operands are defined as constants in theTLcdOGCSpatialFilterCapabilities
class.- Parameters:
aOperand
- the geometry operand.
-
removeGeometryOperand
Removes the geometry operand aOperand from the list of geometry operands supported by this spatial operator.- Parameters:
aOperand
- the geometry operand.
-