You are here

class MultiLineString in geoPHP 7

Same name and namespace in other branches
  1. 8 geoPHP/lib/geometry/MultiLineString.class.php \MultiLineString

MultiLineString: A collection of LineStrings

Hierarchy

Expanded class hierarchy of MultiLineString

9 string references to 'MultiLineString'
EWKB::write in geoPHP/lib/adapters/EWKB.class.php
Serialize geometries into an EWKB binary string.
geoPHP::geometryList in geoPHP/geoPHP.inc
geoPHP::geometryReduce in geoPHP/geoPHP.inc
GeosTests::testGeos in geoPHP/tests/tests/geosTest.php
MethodsTests::_methods_tester in geoPHP/tests/tests/methodsTest.php

... See full list

File

geoPHP/lib/geometry/MultiLineString.class.php, line 5

View source
class MultiLineString extends Collection {
  protected $geom_type = 'MultiLineString';

  // MultiLineString is closed if all it's components are closed
  public function isClosed() {
    foreach ($this->components as $line) {
      if (!$line
        ->isClosed()) {
        return FALSE;
      }
    }
    return TRUE;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
Collection::$components public property
Collection::area public function Overrides Geometry::area 2
Collection::asArray public function Overrides Geometry::asArray 1
Collection::boundary public function Overrides Geometry::boundary 3
Collection::centroid public function Overrides Geometry::centroid 1
Collection::dimension public function Overrides Geometry::dimension 2
Collection::endPoint public function Overrides Geometry::endPoint 1
Collection::equals public function Overrides Geometry::equals
Collection::explode public function Overrides Geometry::explode 2
Collection::exteriorRing public function Overrides Geometry::exteriorRing 1
Collection::geometryN public function Overrides Geometry::geometryN
Collection::getBBox public function Overrides Geometry::getBBox
Collection::getComponents public function Returns Collection component geometries
Collection::getPoints public function Overrides Geometry::getPoints
Collection::greatCircleLength public function Overrides Geometry::greatCircleLength 1
Collection::haversineLength public function Overrides Geometry::haversineLength 1
Collection::interiorRingN public function Overrides Geometry::interiorRingN 1
Collection::isEmpty public function Overrides Geometry::isEmpty
Collection::isRing public function Overrides Geometry::isRing 1
Collection::isSimple public function Overrides Geometry::isSimple 4
Collection::length public function Overrides Geometry::length 2
Collection::numGeometries public function Overrides Geometry::numGeometries
Collection::numInteriorRings public function Overrides Geometry::numInteriorRings 1
Collection::numPoints public function Overrides Geometry::numPoints 2
Collection::pointN public function Overrides Geometry::pointN 1
Collection::pointOnSurface public function Overrides Geometry::pointOnSurface
Collection::startPoint public function Overrides Geometry::startPoint 1
Collection::x public function Overrides Geometry::x
Collection::y public function Overrides Geometry::y
Collection::__construct public function Constructor: Checks and sets component geometries 1
Geometry::$geos private property
Geometry::$srid protected property
Geometry::asBinary public function
Geometry::asText public function
Geometry::buffer public function
Geometry::checkValidity public function
Geometry::contains public function
Geometry::convexHull public function
Geometry::coordinateDimension public function
Geometry::coveredBy public function
Geometry::covers public function
Geometry::crosses public function
Geometry::difference public function
Geometry::disjoint public function
Geometry::distance public function
Geometry::envelope public function
Geometry::equalsExact public function
Geometry::geometryType public function
Geometry::geos public function
Geometry::getArea public function
Geometry::getCentroid public function
Geometry::getGeomType public function
Geometry::getGeos public function
Geometry::getSRID public function
Geometry::getX public function
Geometry::getY public function
Geometry::hasZ public function
Geometry::hausdorffDistance public function
Geometry::intersection public function
Geometry::intersects public function
Geometry::is3D public function
Geometry::isMeasured public function
Geometry::m public function
Geometry::out public function
Geometry::overlaps public function
Geometry::project public function
Geometry::relate public function
Geometry::setGeos public function
Geometry::setSRID public function
Geometry::simplify public function
Geometry::SRID public function
Geometry::symDifference public function
Geometry::touches public function
Geometry::union public function
Geometry::within public function
Geometry::z public function 1
MultiLineString::$geom_type protected property Overrides Geometry::$geom_type
MultiLineString::isClosed public function Overrides Collection::isClosed