Home | Trees | Indices | Help |
|
---|
|
init()
FMEGeometry is an abstract class. It cannot be created directly.
|
|||
|
|||
|
|||
a new object with type S, a subtype of T |
|
||
((float, float), (float, float))
|
|
||
((float, float, float), (float, float, float))
|
|
||
tuple of FMEPoints
|
|
||
None
|
|
||
None
|
|
||
None
|
|
||
None
|
|
||
None
|
|
||
bool
|
|
||
None
|
|
||
None
|
|
||
float
|
|
||
tuple of string s
|
|
||
unicode or None
|
|
||
bool , int , long ,
float , string , unicode ,
bytearray , or None
|
|
||
tuple of string s
|
|
||
tuple of bool bool and
int
|
|
||
int
|
|
||
bool
|
|
||
bool
|
|
||
bool
|
|
||
bool
|
|
||
bool
|
|
||
None
|
|
||
None
|
|
||
None
|
|
||
None
|
|
||
None
|
|
||
None
|
|
||
Inherited from |
|
|||
Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
|
This method returns the bounding box of the geometry
|
This method returns the bounding cube of the geometry
|
Returns the bounds of the geometry.
|
Copies all the attributes from the given feature to traits on this geometry, if they match the (optional) regular expression.
|
Copies the name of the sourceGeometry onto this geometry. If
sourceGeometry's name is blank or
|
Copies all the traits from the given geometry that match the (optional) regular expression.
|
Copies all the traits from this geometry to attributes on the given feature, if they match the (optional) regular expression.
|
Deletes the geometry's name. If a name existed prior to this call then
|
This sets the geometry's dimension to 3D. All Z values are set to the value passed in, even if the geometry is already 3D.
|
Area calculation.
|
Retrieve the names of the measures on this geometry.
|
This routine retrieves the 'name' of this geometry as a unicode
string. This will return
|
Retrieves the geometry trait value of the specified trait name. Strings are returned as one of two possible types - system encoded strings or unicode strings, if the source trait was encoded. Null trait values will be returned as an empty string. Binary blob traits are returned as a bytearray.
|
Retrieve the names of the traits on this geometry.
|
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. The first boolean is
The possible trait types are FME_ATTR_UNDEFINED, FME_ATTR_BOOLEAN, FME_ATTR_INT8, FME_ATTR_UINT8, FME_ATTR_INT16, FME_ATTR_UINT16, FME_ATTR_INT32, FME_ATTR_UINT32, FME_ATTR_REAL32, FME_ATTR_REAL64, FME_ATTR_REAL80, FME_ATTR_STRING, FME_ATTR_ENCODED_STRING, FME_ATTR_INT64, FME_ATTR_UINT64.
|
Returns the type of given trait. If the trait cannot be found, FME_ATTR_UNDEFINED will be returned. Returns one of FME_ATTR_UNDEFINED, FME_ATTR_BOOLEAN, FME_ATTR_INT8, FME_ATTR_UINT8, FME_ATTR_INT16, FME_ATTR_UINT16, FME_ATTR_INT32, FME_ATTR_UINT32, FME_ATTR_REAL32, FME_ATTR_REAL64, FME_ATTR_REAL80, FME_ATTR_STRING, FME_ATTR_ENCODED_STRING, FME_ATTR_INT64, FME_ATTR_UINT64.
|
Check if this geometry or any sub part of this geometry has measures.
|
Returns whether or not the geometry has a name.
|
Returns whether or not the geometry is 3D.
|
Check if the geometry is an aggregate or multi-part collection.
|
Returns
|
Removes the measure with name 'measureName' if supplied, or the default measure, if there is one.
|
This method has 4 modes: 1) Remove all traits at the top level: regex == NULL 2) Remove some traits at the top level: regex == <string> 3) Remove all traits at all levels: regex == kFME_RecurseAll 4) Remove some traits at all levels: regex == kFME_RecurseSome<string> For example, specifying regex == NULL for a multi-surface will remove all traits at the root level of the multi-surface, whereas specifying regex == kFME_RecurseSome<string> will remove all traits from all levels of the multi surface that match <string>. If <string> is an illegal regular expression, no traits will be removed.
|
Renames the measure specified by oldMeasureName to the new name, specified by newMeasureName.
|
Sets the geometry's name with a unicode string. By supplying a blank name as input, this method will act as deleteName().
|
Sets a geometry trait with the specified value. If the geometry trait already exists, its value and type will be changed. The following type numeric mappings are used: PyInt ==> FME_Int32 PyFloat ==> FME_Real64 PyLong ==> FME_Int64 Encoded values are to be specified as unicode strings. Binary values are to be specified as bytearray values or bytes values for Python 3.
|
This method supplies a null trait value with a type to the geometry. If a trait with the same name already exists, it is overwritten. Trait type must be one of FME_ATTR_UNDEFINED, FME_ATTR_BOOLEAN, FME_ATTR_INT8, FME_ATTR_UINT8, FME_ATTR_INT16, FME_ATTR_UINT16, FME_ATTR_INT32, FME_ATTR_UINT32, FME_ATTR_REAL32, FME_ATTR_REAL64, FME_ATTR_REAL80, FME_ATTR_STRING, FME_ATTR_ENCODED_STRING, FME_ATTR_INT64, FME_ATTR_UINT64.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Apr 20 06:20:58 2017 | http://epydoc.sourceforge.net |