Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MultiLineString

The MultiLineString class is a type of GeometryObject representing a shape consisting of multiple lines.

example



var multiLineGeometryObject = { type: "MultiLineString", coordinates: [[[-82.4414, 29.2001], [-82.4414, 29.5352]], [[-82.1008, 29.5352], [-82.1008, 29.2001]]] };
var multiLine=new MultiLineString(multiLineGeometryObject);

Hierarchy

  • MultiLineString

Implements

Index

Constructors

constructor

Properties

bbox

  • get bbox(): number[]
  • Retrieves an array of numbers that represent the bounding box of the MultiLineString.

    Returns number[]

coordinates

coordinates: Position[][] = []

The coordinates property is an array of arrays of Position.

Private terraPrimitive

Private turfFeature

type

  • get type(): string
  • The type property of a geometry as a string ('MultiLineString').

    Returns string

Methods

buffer

  • buffer(geometryMeasure: GeometryMeasure): GeometryObject
  • buffer(geometryMeasure: GeometryMeasure): GeometryObject
  • buffer(geometryMeasure: GeometryMeasure): GeometryObject

contains

  • contains(geometryObject: GeometryObject): boolean
  • contains(geometryObject: GeometryObject): boolean
  • contains(geometryObject: GeometryObject): boolean
  • See if this MultiLineString contains the GeometryObject given as an input parameter.

    Parameters

    Returns boolean

    a boolean

  • See if this MultiLineString contains the GeometryObject given as an input parameter.

    Parameters

    Returns boolean

    a boolean

  • See if this MultiLineString contains the GeometryObject given as an input parameter.

    Parameters

    Returns boolean

    a boolean

convexHull

  • convexHull(): Polygon
  • convexHull(): Polygon
  • convexHull(): Polygon
  • Convex Hull is the Polygon that stretches around this MultiLineString

    Returns Polygon

    a new Polygon

  • Convex Hull is the Polygon that stretches around this MultiLineString

    Returns Polygon

    a new Polygon

  • Convex Hull is the Polygon that stretches around this MultiLineString

    Returns Polygon

    a new Polygon

intersects

  • intersects(geometryObject: GeometryObject): boolean
  • intersects(geometryObject: GeometryObject): boolean
  • intersects(geometryObject: GeometryObject): boolean
  • See if this MultiLineString intersects the GeometryObject given as an input parameter.

    Parameters

    Returns boolean

    a boolean

  • See if this MultiLineString intersects the GeometryObject given as an input parameter.

    Parameters

    Returns boolean

    a boolean

  • See if this MultiLineString intersects the GeometryObject given as an input parameter.

    Parameters

    Returns boolean

    a boolean

toWkt

  • toWkt(): string
  • toWkt(): string
  • toWkt(): string
  • Convert this MultiLineString to well-known text representation.

    Returns string

    the well-known text representation this MultiLineString.

  • Convert this MultiLineString to well-known text representation.

    Returns string

    the well-known text representation this MultiLineString.

  • Convert this MultiLineString to well-known text representation.

    Returns string

    the well-known text representation this MultiLineString.

within

  • within(geometryObject: GeometryObject): boolean
  • within(geometryObject: GeometryObject): boolean
  • within(geometryObject: GeometryObject): boolean
  • See if this MultiLineString is within the GeometryObject given as an input parameter.

    Parameters

    Returns boolean

    a boolean

  • See if this MultiLineString is within the GeometryObject given as an input parameter.

    Parameters

    Returns boolean

    a boolean

  • See if this MultiLineString is within the GeometryObject given as an input parameter.

    Parameters

    Returns boolean

    a boolean

Static createFromWkt

  • createFromWkt(wkt: string): MultiLineString
  • createFromWkt(wkt: string): MultiLineString
  • createFromWkt(wkt: string): MultiLineString
  • Static method for creating a MultiLineString from well-known text.

    Parameters

    • wkt: string

      is a string of well-known text representing a MultiLineString.

    Returns MultiLineString

    a MultiLineString parsed from the well-known text.

  • Static method for creating a MultiLineString from well-known text.

    Parameters

    • wkt: string

      is a string of well-known text representing a MultiLineString.

    Returns MultiLineString

    a MultiLineString parsed from the well-known text.

  • Static method for creating a MultiLineString from well-known text.

    Parameters

    • wkt: string

      is a string of well-known text representing a MultiLineString.

    Returns MultiLineString

    a MultiLineString parsed from the well-known text.