FMEGeometry is an abstract class. It cannot be created directly.
|
|
|
|
|
__init__()
x.__init__(...) initializes x; see help(type(x)) for signature |
|
|
|
a new object with type S, a subtype of T
|
|
((float, float), (float, float))
|
boundingBox()
This method returns the bounding box of the geometry |
|
|
((float, float, float), (float, float, float))
|
boundingCube()
This method returns the bounding cube of the geometry |
|
|
tuple of FMEPoints
|
bounds()
Returns the bounds of the geometry. |
|
|
None
|
clearMeasures()
Remove all measures from the geometry. |
|
|
None
|
copyAttributesFromFeature(sourceFeature,
overwriteExisting,
regexp,
prefix)
Copies all the attributes from the given feature to traits on this
geometry, if they match the (optional) regular expression. |
|
|
None
|
|
None
|
copyTraitsFromGeometry(sourceGeometry,
overwriteExisting,
regexp,
prefix)
Copies all the traits from the given geometry that match the
(optional) regular expression. |
|
|
None
|
copyTraitsToFeature(destFeature,
overwriteExisting,
regexp,
prefix)
Copies all the traits from this geometry to attributes on the given
feature, if they match the (optional) regular expression. |
|
|
bool
|
|
None
|
force2D()
Reduces the geometry to 2D. |
|
|
None
|
force3D(newZ)
This sets the geometry's dimension to 3D. |
|
|
float
|
|
tuple of strings
|
|
unicode or None
|
getName()
This routine retrieves the 'name' of this geometry as a unicode
string. |
|
|
bool, int, long,
float, string, unicode,
bytearray, or None
|
getTrait(traitName)
Retrieves the geometry trait value of the specified trait name. |
|
|
tuple of strings
|
getTraitNames()
Retrieve the names of the traits on this geometry. |
|
|
tuple of bool bool and
int
|
getTraitNullMissingAndType(traitName)
This method returns a tuple of a boolean, indicating if the trait is
null, a boolean, indicating if the trait is missing, and an integer
representing the type of the trait. |
|
|
int
|
|
bool
|
hasMeasures()
Check if this geometry or any sub part of this geometry has measures. |
|
|
bool
|
hasName()
Returns whether or not the geometry has a name. |
|
|
bool
|
is3D()
Returns whether or not the geometry is 3D. |
|
|
bool
|
isCollection()
Check if the geometry is an aggregate or multi-part collection. |
|
|
bool
|
measureExists(measureName)
Returns True if the specified measure exists and
False otherwise. |
|
|
None
|
removeMeasure(measureName)
Removes the measure with name 'measureName' if supplied, or the
default measure, if there is one. |
|
|
None
|
|
None
|
renameMeasure(oldMeasureName,
newMeasureName)
Renames the measure specified by oldMeasureName to the new name,
specified by newMeasureName. |
|
|
None
|
setName(name)
Sets the geometry's name with a unicode string. |
|
|
None
|
setTrait(traitName,
traitValue)
Sets a geometry trait with the specified value. |
|
|
None
|
setTraitNullWithType(traitName,
traitType)
This method supplies a null trait value with a type to the geometry. |
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|