C# 클래스 FdoToolbox.Core.Utility.FdoGeometryUtil

Utility class to convert fgf geometries to other forms and vice versa.
파일 보기 프로젝트 열기: jumpinjackie/fdotoolbox 1 사용 예제들

공개 메소드들

메소드 설명
Fgf2Wkb ( byte fgf ) : byte[]

Converts a FGF binary to a WKB binary

Flatten ( IGeometry geom, FgfGeometryFactory factory ) : IGeometry

Flattens the specified geometry by stripping out the Z and M components of all ordinates within the geometry.

ForceWkb ( IGeometry geom, FgfGeometryFactory fact ) : IGeometry

Forces the given geometry to be WKB compliant. If necessary, a Flatten call will be made on the geometry.

GetFgf ( string str ) : byte[]

Gets the FGF binary from the given text

GetFgfText ( byte fgf ) : string

Gets the FGF text form of an FGF binary

GetGeometricTypes ( int value ) : GeometricType[]

Gets the geometric types.

GetGeometryTypes ( int value ) : GeometryType[]

Gets the geometry types.

GetWkbText ( byte fgf ) : string

Gets the WKB text from the given FGF binary

Is2D ( IGeometry geom ) : bool

Determines if this geometry is 2 dimensional (ie. It has no Z or M components)

비공개 메소드들

메소드 설명
FdoGeometryUtil ( ) : System
FlattenCircularArcSegment ( ICircularArcSegment circularArc, FgfGeometryFactory factory ) : ICircularArcSegment
FlattenCurvePolygon ( ICurvePolygon curvePolygon, FgfGeometryFactory factory ) : ICurvePolygon
FlattenCurveSegment ( ICurveSegmentAbstract curveSegment, FgfGeometryFactory factory ) : ICurveSegmentAbstract
FlattenCurveString ( ICurveString curveStr, FgfGeometryFactory factory ) : ICurveString
FlattenLineString ( ILineString lineStr, FgfGeometryFactory factory ) : ILineString
FlattenLineStringSegment ( ILineStringSegment lineStrSegment, FgfGeometryFactory factory ) : ILineStringSegment
FlattenLinearRing ( ILinearRing ring, FgfGeometryFactory factory ) : ILinearRing
FlattenMultiCurvePolygon ( IMultiCurvePolygon mcPolygon, FgfGeometryFactory factory ) : IMultiCurvePolygon
FlattenMultiCurveString ( IMultiCurveString mcString, FgfGeometryFactory factory ) : IMultiCurveString
FlattenMultiGeometry ( IMultiGeometry mgeom, FgfGeometryFactory factory ) : IMultiGeometry
FlattenMultiLineString ( IMultiLineString mlString, FgfGeometryFactory factory ) : IMultiLineString
FlattenMultiPoint ( IMultiPoint mpoint, FgfGeometryFactory factory ) : IMultiPoint
FlattenMultiPolygon ( IMultiPolygon mpoly, FgfGeometryFactory factory ) : IMultiPolygon
FlattenPoint ( IPoint point, FgfGeometryFactory factory ) : IPoint
FlattenPolygon ( IPolygon polygon, FgfGeometryFactory factory ) : IPolygon
FlattenPosition ( IDirectPosition pos, FgfGeometryFactory factory ) : IDirectPosition
FlattenRing ( IRing ring, FgfGeometryFactory factory ) : IRing
GetDimensionality ( int dim ) : string
GetFirstDimensionality ( BinaryReader reader ) : int
WriteCircularArcSegment ( BinaryReader reader, StringBuilder wkt, int dim ) : void
WriteCurvePolygonEntity ( BinaryReader reader, StringBuilder wkt, int dim ) : void
WriteCurvePolygonText ( BinaryReader reader, StringBuilder wkt, int dim ) : void
WriteCurveSegmentText ( BinaryReader reader, StringBuilder wkt, int dim ) : void
WriteCurveStringEntity ( BinaryReader reader, StringBuilder wkt, int dim ) : void
WriteCurveStringText ( BinaryReader reader, StringBuilder wkt, int dim ) : void
WriteFgfText ( StringBuilder wkt, BinaryReader reader ) : void
WriteLineStringEntity ( BinaryReader reader, StringBuilder wkt, int dim ) : void
WriteLineStringSegment ( BinaryReader reader, StringBuilder wkt, int dim ) : void
WriteLineStringText ( BinaryReader reader, StringBuilder wkt, int dim ) : void
WriteMultipleGeometryType ( BinaryReader reader, StringBuilder wkt, GeometryType type ) : void
WritePointEntity ( BinaryReader reader, StringBuilder wkt, int dim ) : void
WritePointText ( BinaryReader reader, StringBuilder wkt, int dim ) : void
WritePolygonEntity ( BinaryReader reader, StringBuilder wkt, int dim ) : void
WritePolygonText ( BinaryReader reader, StringBuilder wkt, int dim ) : void
WriteSingleGeometryType ( BinaryReader reader, StringBuilder wkt, GeometryType type ) : void

메소드 상세

Fgf2Wkb() 공개 정적인 메소드

Converts a FGF binary to a WKB binary
public static Fgf2Wkb ( byte fgf ) : byte[]
fgf byte
리턴 byte[]

Flatten() 공개 정적인 메소드

Flattens the specified geometry by stripping out the Z and M components of all ordinates within the geometry.
public static Flatten ( IGeometry geom, FgfGeometryFactory factory ) : IGeometry
geom IGeometry The geometry to flatten
factory FgfGeometryFactory The geometry factory.
리턴 IGeometry

ForceWkb() 공개 정적인 메소드

Forces the given geometry to be WKB compliant. If necessary, a Flatten call will be made on the geometry.
public static ForceWkb ( IGeometry geom, FgfGeometryFactory fact ) : IGeometry
geom IGeometry
fact FgfGeometryFactory
리턴 IGeometry

GetFgf() 공개 정적인 메소드

Gets the FGF binary from the given text
public static GetFgf ( string str ) : byte[]
str string
리턴 byte[]

GetFgfText() 공개 정적인 메소드

Gets the FGF text form of an FGF binary
public static GetFgfText ( byte fgf ) : string
fgf byte
리턴 string

GetGeometricTypes() 공개 정적인 메소드

Gets the geometric types.
public static GetGeometricTypes ( int value ) : GeometricType[]
value int The value.
리턴 GeometricType[]

GetGeometryTypes() 공개 정적인 메소드

Gets the geometry types.
public static GetGeometryTypes ( int value ) : GeometryType[]
value int The value.
리턴 GeometryType[]

GetWkbText() 공개 정적인 메소드

Gets the WKB text from the given FGF binary
public static GetWkbText ( byte fgf ) : string
fgf byte
리턴 string

Is2D() 공개 정적인 메소드

Determines if this geometry is 2 dimensional (ie. It has no Z or M components)
public static Is2D ( IGeometry geom ) : bool
geom IGeometry The geometry
리턴 bool