EGeometryType class
This file contains code that has not been ported from the JTS project. Geometry types used by the utility.
@author Andrea Antonello (www.hydrologis.com)
Properties
- clazz → dynamic
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- multiClazz → dynamic
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- typeName → String
-
final
Methods
-
getClazz(
) → dynamic -
getMultiClazz(
) → dynamic -
getTypeCode(
[Geometry? geometry]) → int -
getTypeName(
) → String -
isCompatibleWith(
EGeometryType geometryType) → bool -
isLine(
) → bool -
isMulti(
) → bool -
isPoint(
) → bool -
isPolygon(
) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
forGeometry(
Geometry geometry) → EGeometryType -
Returns the EGeometryType for a given
geometry
. -
forTypeName(
String typeName) → EGeometryType -
forWktName(
String wktName) → EGeometryType -
Returns the EGeometryType for a given
wktName
. -
fromGeometryTypeCode(
int value) → EGeometryType -
Returns the EGeometryType for a spatialite geometries types
value
. -
isGeomLine(
Geometry geometry) → bool -
Checks if the given
geometry
is a LineString (or MultiLineString) geometry. -
isGeomPoint(
Geometry geometry) → bool -
Checks if the given
geometry
is a Point (or MultiPoint) geometry. -
isGeomPolygon(
Geometry geometry) → bool -
Checks if the given
geometry
is a Polygon (or MultiPolygon) geometry.
Constants
- GEOMETRY → const EGeometryType
- GEOMETRYCOLLECTION → const EGeometryType
- LINESTRING → const EGeometryType
- MULTILINESTRING → const EGeometryType
- MULTIPOINT → const EGeometryType
- MULTIPOLYGON → const EGeometryType
- POINT → const EGeometryType
- POLYGON → const EGeometryType
- UNKNOWN → const EGeometryType