Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GeometryWriter

Well Known Text writer

Hierarchy

  • GeometryWriter

Index

Constructors

constructor

Methods

getWriter

toString

  • toString(): string

write

  • write(geometry: Geometry): void
  • Write a geometry to well-known text

    Parameters

    • geometry: Geometry

      geometry

    Returns void

writeCircularString

  • writeCircularString(circularString: CircularString): void
  • Write a Circular String

    Parameters

    • circularString: CircularString

      Circular String

    Returns void

writeCompoundCurve

  • writeCompoundCurve(compoundCurve: CompoundCurve): void
  • Write a Compound Curve

    Parameters

    • compoundCurve: CompoundCurve

      Compound Curve

    Returns void

writeCurvePolygon

  • writeCurvePolygon(curvePolygon: CurvePolygon<Curve>): void
  • Write a Curve Polygon

    Parameters

    • curvePolygon: CurvePolygon<Curve>

      Curve Polygon

    Returns void

writeGeometryCollection

  • writeGeometryCollection(geometryCollection: GeometryCollection<Geometry>): void
  • Write a Geometry Collection

    Parameters

    • geometryCollection: GeometryCollection<Geometry>

      Geometry Collection

    Returns void

writeLineString

  • writeLineString(lineString: LineString): void

writeM

  • writeM(point: Point): void

writeMultiLineString

  • writeMultiLineString(multiLineString: MultiLineString): void
  • Write a Multi Line String

    Parameters

    • multiLineString: MultiLineString

      Multi Line String

    Returns void

writeMultiPoint

  • writeMultiPoint(multiPoint: MultiPoint): void

writeMultiPolygon

  • writeMultiPolygon(multiPolygon: MultiPolygon): void
  • Write a Multi Polygon

    Parameters

    • multiPolygon: MultiPolygon

      Multi Polygon

    Returns void

writePoint

  • writePoint(point: Point): void

writePointText

  • writePointText(point: Point): void

writePolygon

  • writePolygon(polygon: Polygon): void

writePolyhedralSurface

  • writePolyhedralSurface(polyhedralSurface: PolyhedralSurface): void
  • Write a Polyhedral Surface

    Parameters

    • polyhedralSurface: PolyhedralSurface

      Polyhedral Surface

    Returns void

writeTIN

  • writeTIN(tin: TIN): void

writeTriangle

  • writeTriangle(triangle: Triangle): void

writeXY

  • writeXY(point: Point): void

writeZ

  • writeZ(point: Point): void

Static writeCircularString

  • writeCircularString(writer: StringWriter, circularString: CircularString): void

Static writeCompoundCurve

  • writeCompoundCurve(writer: StringWriter, compoundCurve: CompoundCurve): void

Static writeCurvePolygon

  • writeCurvePolygon(writer: StringWriter, curvePolygon: CurvePolygon<Curve>): void

Static writeGeometry

  • writeGeometry(geometry: Geometry): string
  • Write a geometry to a well-known text string

    Parameters

    • geometry: Geometry

      geometry

    Returns string

    well-known text string

Static writeGeometryCollection

  • writeGeometryCollection(writer: StringWriter, geometryCollection: GeometryCollection<Geometry>): void
  • Write a Geometry Collection

    Parameters

    • writer: StringWriter

      writer

    • geometryCollection: GeometryCollection<Geometry>

      Geometry Collection

    Returns void

Static writeGeometryWithStringWriter

  • writeGeometryWithStringWriter(writer: StringWriter, geometry: Geometry): void

Static writeLineString

  • writeLineString(writer: StringWriter, lineString: LineString): void

Static writeMultiLineString

  • writeMultiLineString(writer: StringWriter, multiLineString: MultiLineString): void

Static writeMultiPoint

  • writeMultiPoint(writer: StringWriter, multiPoint: MultiPoint): void

Static writeMultiPolygon

  • writeMultiPolygon(writer: StringWriter, multiPolygon: MultiPolygon): void

Static writePoint

Static writePointText

Static writePolygon

  • writePolygon(writer: StringWriter, polygon: Polygon): void

Static writePolyhedralSurface

  • writePolyhedralSurface(writer: StringWriter, polyhedralSurface: PolyhedralSurface): void

Static writeTIN

Static writeTriangle

  • writeTriangle(writer: StringWriter, triangle: Triangle): void

Generated using TypeDoc