Struct GeometryType
Lightweight class that handles OGC Geometry type declaration
Inherited Members
Namespace: NetTopologySuite.IO
Assembly: NetTopologySuite.dll
Syntax
[CLSCompliant(false)]
public struct GeometryTypeConstructors
| Edit this page 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, bool)
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. | 
| bool | hasSrid | Indicator if a SRID is supplied. | 
GeometryType(OgcGeometryType, bool)
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 | 
| bool | hasSrid | Indicator if a SRID is supplied. | 
GeometryType(uint)
Initializes this instance
Declaration
public GeometryType(uint geometryType)Parameters
| Type | Name | Description | 
|---|---|---|
| uint | geometryType | The value describing the GeometryType | 
Properties
| Edit this page 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 int EwkbWkbGeometryType { get; }Property Value
| Type | Description | 
|---|---|
| int | 
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 | 
|---|---|
| bool | 
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 | 
|---|---|
| bool | 
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 | 
|---|---|
| bool | 
HasM
Gets or sets whether m-ordinate values are stored along with the geometry.
Declaration
public bool HasM { get; }Property Value
| Type | Description | 
|---|---|
| bool | 
HasSrid
Gets whether SRID value is stored along with the geometry.
Declaration
public bool HasSrid { get; }Property Value
| Type | Description | 
|---|---|
| bool | 
HasWkbM
Gets or sets whether m-ordinate values are stored along with the geometry.
Declaration
public bool HasWkbM { get; set; }Property Value
| Type | Description | 
|---|---|
| bool | 
HasWkbZ
Gets or sets whether z-ordinate values are stored along with the geometry.
Declaration
public bool HasWkbZ { get; set; }Property Value
| Type | Description | 
|---|---|
| bool | 
HasZ
Gets or sets whether z-ordinate values are stored along with the geometry.
Declaration
public bool HasZ { get; }Property Value
| Type | Description | 
|---|---|
| bool | 
WkbGeometryType
Gets the OGC Well-Known-Binary type code
Declaration
public int WkbGeometryType { get; }Property Value
| Type | Description | 
|---|---|
| int |