object LinearComponentExtracter
Extracts all the 1-dimensional ({link LineString}) components from a {link Geometry}.
For polygonal geometries, this will extract all the component {link LinearRing}s.
If desired, LinearRings can be forced to be returned as LineStrings.
- Version
1.7
- Alphabetic
- By Inheritance
- LinearComponentExtracter
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getGeometry(geom: Geometry, forceToLineString: Boolean): Geometry
Extracts the linear components from a single {link Geometry} and returns them as either a {link LineString} or {link MultiLineString}.
Extracts the linear components from a single {link Geometry} and returns them as either a {link LineString} or {link MultiLineString}.
- geom
the geometry from which to extract
- forceToLineString
true if LinearRings should be converted to LineStrings return a linear geometry
- def getGeometry(geom: Geometry): Geometry
Extracts the linear components from a single {link Geometry} and returns them as either a {link LineString} or {link MultiLineString}.
Extracts the linear components from a single {link Geometry} and returns them as either a {link LineString} or {link MultiLineString}.
- geom
the geometry from which to extract return a linear geometry
- def getLines(geom: Geometry, forceToLineString: Boolean): ArrayList[Geometry]
Extracts the linear components from a single geometry.
Extracts the linear components from a single geometry. If more than one geometry is to be processed, it is more efficient to create a single {link LinearComponentExtracter} instance and pass it to multiple geometries.
- geom
the geometry from which to extract linear components
- forceToLineString
true if LinearRings should be converted to LineStrings return the list of linear components
- def getLines(geom: Geometry): ArrayList[Geometry]
Extracts the linear components from a single geometry.
Extracts the linear components from a single geometry. If more than one geometry is to be processed, it is more efficient to create a single {link LinearComponentExtracter} instance and pass it to multiple geometries.
- geom
the geometry from which to extract linear components return the list of linear components
- def getLines(geom: Geometry, lines: Collection[Geometry], forceToLineString: Boolean): Collection[Geometry]
Extracts the linear components from a single {link Geometry} and adds them to the provided {link Collection}.
Extracts the linear components from a single {link Geometry} and adds them to the provided {link Collection}.
- geom
the geometry from which to extract linear components
- lines
the Collection to add the extracted linear components to
- forceToLineString
true if LinearRings should be converted to LineStrings return the Collection of linear components (LineStrings or LinearRings)
- def getLines(geom: Geometry, lines: Collection[Geometry]): Collection[Geometry]
Extracts the linear components from a single {link Geometry} and adds them to the provided {link Collection}.
Extracts the linear components from a single {link Geometry} and adds them to the provided {link Collection}.
- geom
the geometry from which to extract linear components
- lines
the Collection to add the extracted linear components to return the Collection of linear components (LineStrings or LinearRings)
- def getLines(geoms: Collection[Geometry], lines: Collection[Geometry], forceToLineString: Boolean): Collection[Geometry]
Extracts the linear components from a single {link Geometry} and adds them to the provided {link Collection}.
Extracts the linear components from a single {link Geometry} and adds them to the provided {link Collection}.
- geoms
the Collection of geometries from which to extract linear components
- lines
the collection to add the extracted linear components to
- forceToLineString
true if LinearRings should be converted to LineStrings return the collection of linear components (LineStrings or LinearRings)
- def getLines(geoms: Collection[Geometry], lines: Collection[Geometry]): Collection[Geometry]
Extracts the linear components from a single {link Geometry} and adds them to the provided {link Collection}.
Extracts the linear components from a single {link Geometry} and adds them to the provided {link Collection}.
- geoms
the collection of geometries from which to extract linear components
- lines
the collection to add the extracted linear components to return the collection of linear components (LineStrings or LinearRings)
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()