class documentation
Undocumented
Method | __init__ |
Undocumented |
Method | area |
Computes the area of the geometry. |
Method | bounds |
Returns a Bounds object that bounds this shape. |
Method | centroid |
Returns a centroid as a Point shape. |
Method | contains |
Returns True if this shape contains the other. |
Method | covered |
Returns True if this shape is covered by the other. |
Method | covers |
Returns True if this shape covers the other. |
Method | crosses |
Returns True if this shape crosses the other. |
Method | disjoint |
Returns True if this shape does not intersect with the other. |
Method | equals |
Returns True if this shape is equal to the other. |
Method | intersection |
Computes an intersection of this shape and other shapes. |
Method | intersects |
Returns True if this shape intersects with the other. |
Method | is |
Returns True if this shape is empty. |
Method | is |
Returns True if this shape is a ring. |
Method | is |
Returns True if this shape is 'simple'. |
Method | is |
Returns True if this shape is valid. |
Method | overlaps |
Returns True if this shape overlaps the other. |
Method | to |
Returns an EWKB representation of this shape as a binary string. |
Method | to |
Returns an EWKB representation of this shape as a hex string. |
Method | to |
Returns an EWKT representation of this shape. |
Method | to |
Returns a GeoJSON representation of this shape. |
Method | to |
Converts a singly-geometry shape to a multi-geometry one. |
Method | to |
Returns a GeoJSON representation of this shape. |
Method | to |
Converts a geometry to another type. |
Method | to |
Returns a WKB representation of this shape as a binary string. |
Method | to |
Returns a WKB representation of this shape as a hex string. |
Method | to |
Returns a WKT representation of this shape. |
Method | tolerance |
Builds a buffer polygon around the shape. |
Method | touches |
Returns True if this shape touches the other. |
Method | transformed |
Returns this shape transformed to another CRS. |
Method | union |
Computes a union of this shape and other shapes. |
Method | within |
Returns True if this shape is within the other. |
Instance Variable | crs |
CRS of this shape. |
Instance Variable | geom |
Undocumented |
Instance Variable | type |
Geometry type. |
Instance Variable | x |
X-coordinate for Point geometries, None otherwise. |
Instance Variable | y |
Y-coordinate for Point geometries, None otherwise. |
Method | _binary |
Undocumented |
overrides
gws.core.types.IShape.disjoint
Returns True if this shape does not intersect with the other.
overrides
gws.core.types.IShape.intersection
Computes an intersection of this shape and other shapes.
overrides
gws.core.types.IShape.to_ewkb
Returns an EWKB representation of this shape as a binary string.
overrides
gws.core.types.IShape.to_ewkb_hex
Returns an EWKB representation of this shape as a hex string.
overrides
gws.core.types.IShape.to_wkb
Returns a WKB representation of this shape as a binary string.
overrides
gws.core.types.IShape.to_wkb_hex
Returns a WKB representation of this shape as a hex string.