WebCola
Options
All
  • Public
  • Public/Protected
  • All
Menu

A Prototype interface which serves as a template for the implementation of a geometric transform using geoTransform(...) It serves as a reference for the custom methods which can be passed into geoTransform as argument to crete a generalized transform projection.

Hierarchy

  • GeoTransformPrototype

Index

Methods

lineEnd

  • lineEnd(this: this & { stream: GeoStream; }): void
  • Indicates the end of a line or ring. Within a polygon, indicates the end of a ring. Unlike GeoJSON, the redundant closing coordinate of a ring is not indicated via point, and instead is implied via lineEnd within a polygon.

    Parameters

    • this: this & { stream: GeoStream; }

    Returns void

lineStart

  • lineStart(this: this & { stream: GeoStream; }): void
  • Indicates the start of a line or ring. Within a polygon, indicates the start of a ring. The first ring of a polygon is the exterior ring, and is typically clockwise. Any subsequent rings indicate holes in the polygon, and are typically counterclockwise.

    Parameters

    • this: this & { stream: GeoStream; }

    Returns void

point

  • point(this: this & { stream: GeoStream; }, x: number, y: number, z?: number): void
  • Indicates a point with the specified coordinates x and y (and optionally z). The coordinate system is unspecified and implementation-dependent; for example, projection streams require spherical coordinates in degrees as input. Outside the context of a polygon or line, a point indicates a point geometry object (Point or MultiPoint). Within a line or polygon ring, the point indicates a control point.

    Parameters

    • this: this & { stream: GeoStream; }
    • x: number

      x-coordinate of point.

    • y: number

      y-coordinate of point.

    • Optional z: number

      Optional z-coordinate of point.

    Returns void

polygonEnd

  • polygonEnd(this: this & { stream: GeoStream; }): void
  • Indicates the end of a polygon.

    Parameters

    • this: this & { stream: GeoStream; }

    Returns void

polygonStart

  • polygonStart(this: this & { stream: GeoStream; }): void
  • Indicates the start of a polygon. The first line of a polygon indicates the exterior ring, and any subsequent lines indicate interior holes.

    Parameters

    • this: this & { stream: GeoStream; }

    Returns void

sphere

  • sphere(this: this & { stream: GeoStream; }): void
  • Indicates the sphere (the globe; the unit sphere centered at ⟨0,0,0⟩).

    Parameters

    • this: this & { stream: GeoStream; }

    Returns void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc