Struct GeometryType
Lightweight class that handles OGC Geometry type declaration
Inherited Members
Namespace: NetTopologySuite.IO
Assembly: NetTopologySuite.dll
Syntax
[CLSCompliant(false)]
public struct GeometryType
Constructors
| Improve this Doc View SourceGeometryType(Geometry, Ordinates)
Inititalizes this instance based on a geometry and an Ordinates flag.
Declaration
public GeometryType(Geometry geometry, Ordinates ordinates)
Parameters
Type | Name | Description |
---|---|---|
Geometry | geometry | The geometry. |
Ordinates | ordinates | The ordinates flag. |
GeometryType(OgcGeometryType)
Inititalizes this instance based on an OgcGeometryType
Declaration
public GeometryType(OgcGeometryType ogcGeometryType)
Parameters
Type | Name | Description |
---|---|---|
OgcGeometryType | ogcGeometryType | The OGC geometry type |
GeometryType(OgcGeometryType, Ordinates, Boolean)
Inititalizes this instance based on an OgcGeometryType and an SRID indicator
Declaration
public GeometryType(OgcGeometryType ogcGeometryType, Ordinates ordinates, bool hasSrid)
Parameters
Type | Name | Description |
---|---|---|
OgcGeometryType | ogcGeometryType | The OGC geometry type |
Ordinates | ordinates | The ordinates flag. |
Boolean | hasSrid | Indicator if a SRID is supplied. |
GeometryType(OgcGeometryType, Boolean)
Inititalizes this instance based on an OgcGeometryType and an SRID indicator
Declaration
public GeometryType(OgcGeometryType ogcGeometryType, bool hasSrid)
Parameters
Type | Name | Description |
---|---|---|
OgcGeometryType | ogcGeometryType | The OGC geometry type |
Boolean | hasSrid | Indicator if a SRID is supplied. |
GeometryType(UInt32)
Initializes this instance
Declaration
public GeometryType(uint geometryType)
Parameters
Type | Name | Description |
---|---|---|
UInt32 | geometryType | The value describing the GeometryType |
Properties
| Improve this Doc View SourceBaseGeometryType
Gets or sets the base geometry type
Declaration
public OgcGeometryType BaseGeometryType { get; set; }
Property Value
Type | Description |
---|---|
OgcGeometryType |
EwkbWkbGeometryType
Gets the PostGIS Enhanced Well-Known-Binary type code
Declaration
public readonly int EwkbWkbGeometryType { get; }
Property Value
Type | Description |
---|---|
Int32 |
HasEwkbM
Gets or sets whether z-ordinates are stored along with the geometry.
PostGis EWKB format.
Declaration
public bool HasEwkbM { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
HasEwkbSrid
Gets or sets whether z-ordinates are stored along with the geometry.
PostGis EWKB format.
Declaration
public bool HasEwkbSrid { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
HasEwkbZ
Gets or sets whether z-ordinates are stored along with the geometry.
PostGis EWKB format.
Declaration
public bool HasEwkbZ { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
HasM
Gets or sets whether m-ordinate values are stored along with the geometry.
Declaration
public readonly bool HasM { get; }
Property Value
Type | Description |
---|---|
Boolean |
HasSrid
Gets whether SRID value is stored along with the geometry.
Declaration
public readonly bool HasSrid { get; }
Property Value
Type | Description |
---|---|
Boolean |
HasWkbM
Gets or sets whether m-ordinate values are stored along with the geometry.
Declaration
public bool HasWkbM { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
HasWkbZ
Gets or sets whether z-ordinate values are stored along with the geometry.
Declaration
public bool HasWkbZ { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
HasZ
Gets or sets whether z-ordinate values are stored along with the geometry.
Declaration
public readonly bool HasZ { get; }
Property Value
Type | Description |
---|---|
Boolean |
WkbGeometryType
Gets the OGC Well-Known-Binary type code
Declaration
public readonly int WkbGeometryType { get; }
Property Value
Type | Description |
---|---|
Int32 |