C# Class SInnovations.Azure.TableStorageRepository.Spatial.DotSpatial.ShapeConverter

Inheritance: IShapeConverter
ファイルを表示 Open project: s-innovations/azure-table-storage-repository-pattern Class Usage Examples

Public Methods

Method Description
CanConvert ( ObjectType type ) : bool
FromCircle ( object circle ) : double[]
FromEnvelope ( object envelope ) : SInnovations.Azure.TableStorageRepository.Spatial.DotSpatial.CoordinateInfo[]
FromFeature ( object feature, object &id, object>.Dictionary &properties ) : object
FromFeatureCollection ( object featureCollection ) : object[]
FromGeometryCollection ( object geometryCollection ) : object[]
FromLineString ( object lineString ) : SInnovations.Azure.TableStorageRepository.Spatial.DotSpatial.CoordinateInfo[]
FromLinearRing ( object lineString ) : SInnovations.Azure.TableStorageRepository.Spatial.DotSpatial.CoordinateInfo[]
FromMultiLineString ( object multiLineString ) : SInnovations.Azure.TableStorageRepository.Spatial.DotSpatial.CoordinateInfo[][]
FromMultiPoint ( object multiPoint ) : SInnovations.Azure.TableStorageRepository.Spatial.DotSpatial.CoordinateInfo[]
FromMultiPolygon ( object multiPolygon ) : SInnovations.Azure.TableStorageRepository.Spatial.DotSpatial.CoordinateInfo[][][]
FromPoint ( object point ) : CoordinateInfo
FromPolygon ( object polygon ) : SInnovations.Azure.TableStorageRepository.Spatial.DotSpatial.CoordinateInfo[][]
GetObjectType ( object obj ) : ObjectType
ShapeConverter ( IGeometryFactory geometryFactory ) : System
ToCircle ( double circle ) : object
ToEnvelope ( CoordinateInfo coordinates ) : object
ToFeature ( object geometry, object id, object>.Dictionary properties ) : object
ToFeatureCollection ( object features ) : object
ToGeometryCollection ( object geometries ) : object
ToLineString ( CoordinateInfo coordinates ) : object
ToLinearRing ( CoordinateInfo coordinates ) : object
ToMultiLineString ( CoordinateInfo coordinates ) : object
ToMultiPoint ( CoordinateInfo coordinates ) : object
ToMultiPolygon ( CoordinateInfo coordinates ) : object
ToPoint ( CoordinateInfo coordinates ) : object
ToPolygon ( CoordinateInfo coordinates ) : object

Private Methods

Method Description
MakeCoordinate ( CoordinateInfo coordinate ) : System.Coordinate
MakeCoordinate ( System.Coordinate coordinate ) : CoordinateInfo

Method Details

CanConvert() public method

public CanConvert ( ObjectType type ) : bool
type ObjectType
return bool

FromCircle() public method

public FromCircle ( object circle ) : double[]
circle object
return double[]

FromEnvelope() public method

public FromEnvelope ( object envelope ) : SInnovations.Azure.TableStorageRepository.Spatial.DotSpatial.CoordinateInfo[]
envelope object
return SInnovations.Azure.TableStorageRepository.Spatial.DotSpatial.CoordinateInfo[]

FromFeature() public method

public FromFeature ( object feature, object &id, object>.Dictionary &properties ) : object
feature object
id object
properties object>.Dictionary
return object

FromFeatureCollection() public method

public FromFeatureCollection ( object featureCollection ) : object[]
featureCollection object
return object[]

FromGeometryCollection() public method

public FromGeometryCollection ( object geometryCollection ) : object[]
geometryCollection object
return object[]

FromLineString() public method

public FromLineString ( object lineString ) : SInnovations.Azure.TableStorageRepository.Spatial.DotSpatial.CoordinateInfo[]
lineString object
return SInnovations.Azure.TableStorageRepository.Spatial.DotSpatial.CoordinateInfo[]

FromLinearRing() public method

public FromLinearRing ( object lineString ) : SInnovations.Azure.TableStorageRepository.Spatial.DotSpatial.CoordinateInfo[]
lineString object
return SInnovations.Azure.TableStorageRepository.Spatial.DotSpatial.CoordinateInfo[]

FromMultiLineString() public method

public FromMultiLineString ( object multiLineString ) : SInnovations.Azure.TableStorageRepository.Spatial.DotSpatial.CoordinateInfo[][]
multiLineString object
return SInnovations.Azure.TableStorageRepository.Spatial.DotSpatial.CoordinateInfo[][]

FromMultiPoint() public method

public FromMultiPoint ( object multiPoint ) : SInnovations.Azure.TableStorageRepository.Spatial.DotSpatial.CoordinateInfo[]
multiPoint object
return SInnovations.Azure.TableStorageRepository.Spatial.DotSpatial.CoordinateInfo[]

FromMultiPolygon() public method

public FromMultiPolygon ( object multiPolygon ) : SInnovations.Azure.TableStorageRepository.Spatial.DotSpatial.CoordinateInfo[][][]
multiPolygon object
return SInnovations.Azure.TableStorageRepository.Spatial.DotSpatial.CoordinateInfo[][][]

FromPoint() public method

public FromPoint ( object point ) : CoordinateInfo
point object
return CoordinateInfo

FromPolygon() public method

public FromPolygon ( object polygon ) : SInnovations.Azure.TableStorageRepository.Spatial.DotSpatial.CoordinateInfo[][]
polygon object
return SInnovations.Azure.TableStorageRepository.Spatial.DotSpatial.CoordinateInfo[][]

GetObjectType() public method

public GetObjectType ( object obj ) : ObjectType
obj object
return ObjectType

ShapeConverter() public method

public ShapeConverter ( IGeometryFactory geometryFactory ) : System
geometryFactory IGeometryFactory
return System

ToCircle() public method

public ToCircle ( double circle ) : object
circle double
return object

ToEnvelope() public method

public ToEnvelope ( CoordinateInfo coordinates ) : object
coordinates CoordinateInfo
return object

ToFeature() public method

public ToFeature ( object geometry, object id, object>.Dictionary properties ) : object
geometry object
id object
properties object>.Dictionary
return object

ToFeatureCollection() public method

public ToFeatureCollection ( object features ) : object
features object
return object

ToGeometryCollection() public method

public ToGeometryCollection ( object geometries ) : object
geometries object
return object

ToLineString() public method

public ToLineString ( CoordinateInfo coordinates ) : object
coordinates CoordinateInfo
return object

ToLinearRing() public method

public ToLinearRing ( CoordinateInfo coordinates ) : object
coordinates CoordinateInfo
return object

ToMultiLineString() public method

public ToMultiLineString ( CoordinateInfo coordinates ) : object
coordinates CoordinateInfo
return object

ToMultiPoint() public method

public ToMultiPoint ( CoordinateInfo coordinates ) : object
coordinates CoordinateInfo
return object

ToMultiPolygon() public method

public ToMultiPolygon ( CoordinateInfo coordinates ) : object
coordinates CoordinateInfo
return object

ToPoint() public method

public ToPoint ( CoordinateInfo coordinates ) : object
coordinates CoordinateInfo
return object

ToPolygon() public method

public ToPolygon ( CoordinateInfo coordinates ) : object
coordinates CoordinateInfo
return object