C# Class Raven.Client.Spatial.NetTopologySuite.ShapeConverter

Inheritance: IShapeConverter
显示文件 Open project: sibartlett/RavenDB.Client.Spatial Class Usage Examples

Public Methods

Method Description
CanConvert ( ObjectType type ) : bool
FromCircle ( object circle ) : double[]
FromEnvelope ( object envelope ) : CoordinateInfo[]
FromFeature ( object feature, object &id, object>.Dictionary &properties ) : object
FromFeatureCollection ( object featureCollection ) : object[]
FromGeometryCollection ( object geometryCollection ) : object[]
FromLineString ( object lineString ) : CoordinateInfo[]
FromLinearRing ( object lineString ) : CoordinateInfo[]
FromMultiLineString ( object multiLineString ) : CoordinateInfo[][]
FromMultiPoint ( object multiPoint ) : CoordinateInfo[]
FromMultiPolygon ( object multiPolygon ) : CoordinateInfo[][][]
FromPoint ( object point ) : CoordinateInfo
FromPolygon ( object polygon ) : 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 ) : CoordinateInfo[]
envelope object
return 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 ) : CoordinateInfo[]
lineString object
return CoordinateInfo[]

FromLinearRing() public method

public FromLinearRing ( object lineString ) : CoordinateInfo[]
lineString object
return CoordinateInfo[]

FromMultiLineString() public method

public FromMultiLineString ( object multiLineString ) : CoordinateInfo[][]
multiLineString object
return CoordinateInfo[][]

FromMultiPoint() public method

public FromMultiPoint ( object multiPoint ) : CoordinateInfo[]
multiPoint object
return CoordinateInfo[]

FromMultiPolygon() public method

public FromMultiPolygon ( object multiPolygon ) : CoordinateInfo[][][]
multiPolygon object
return CoordinateInfo[][][]

FromPoint() public method

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

FromPolygon() public method

public FromPolygon ( object polygon ) : CoordinateInfo[][]
polygon object
return 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