| Package | org.openscales.core.geometry |
| Class | public class MultiLineString |
| Inheritance | MultiLineString Collection Geometry |
| Method | Defined by | ||
|---|---|---|---|
|
MultiLineString(components:Array = null)
| MultiLineString | ||
![]() |
addComponent(component:Geometry, index:Number):Boolean
Add a new component (geometry) to the collection.
| Collection | |
![]() |
addComponents(components:Array):void
Add components to this geometry.
| Collection | |
|
addLineString(lineString:LineString, index:Number):void
Component of the specified index, casted to the Polygon type
| MultiLineString | ||
![]() |
Determines if the feature is placed at the given point with a certain tolerance (or not).
| Geometry | |
![]() |
calculateBounds():void
Recalculate the bounds by iterating through the components and
calling extendBounds() on each item.
| Collection | |
![]() |
clearBounds():void
Clear the geometry's bounds
| Geometry | |
|
To get this geometry clone
| MultiLineString | ||
![]() |
componentByIndex(i:int):Geometry
Component of the specified index, casted to the Geometry type
| Collection | |
![]() |
Determine if the input geometry is fully contained in this one.
| Geometry | |
![]() |
containsPoint(p:Point):Boolean
Test if a point is inside this geometry.
| Collection | |
![]() |
destroy():void
Destroy the collection.
| Collection | |
![]() |
distanceTo(geom:Geometry):Number
Calculate the closest distance between two geometries (on the x-y plane).
| Geometry | |
![]() |
extendBounds(newBounds:Bounds):void
Extends geometry's bounds
If bounds are not defined yet, it initializes the bounds.
| Geometry | |
![]() |
getcomponentsClone():Array
TO get component clone
| Collection | |
![]() |
intersects(geom:Geometry):Boolean
Determine if the input geometry intersects this one.
| Collection | |
![]() |
[static]
Test if a point is at the left, at the right or on an infinite line.
| Geometry | |
![]() |
removeComponent(component:Geometry):void
Remove a component from this geometry.
| Collection | |
![]() |
removeComponents(components:Array):void
Remove components from this geometry.
| Collection | |
|
removeLineString(lineString:LineString):void
| MultiLineString | ||
![]() |
replaceComponent(index:int, component:Geometry):Boolean
replace the component of specified index by the input geometry.
| Collection | |
![]() |
segmentsIntersect(seg1:Array, seg2:Array, tolerance:Number = 0.0):Boolean
[static]
Determine whether two line segments intersect or not.
| Geometry | |
|
toShortString():String
| MultiLineString | ||
![]() |
toVertices():Array
Return an array of all the vertices (Point) of this geometry
| Collection | |
|
transform(source:ProjProjection, dest:ProjProjection):void
Method to convert the multilinestring (x/y) from a projection system to an other.
| MultiLineString | ||
| MultiLineString | () | constructor |
public function MultiLineString(components:Array = null)Parameters
components:Array (default = null) |
| addLineString | () | method |
public function addLineString(lineString:LineString, index:Number):voidComponent of the specified index, casted to the Polygon type
ParameterslineString:LineString |
|
index:Number |
| clone | () | method |
| removeLineString | () | method |
| toShortString | () | method |
public override function toShortString():String
Returns
String |
| transform | () | method |
public override function transform(source:ProjProjection, dest:ProjProjection):voidMethod to convert the multilinestring (x/y) from a projection system to an other.
Parameterssource:ProjProjection — The source projection
|
|
dest:ProjProjection — The destination projection
|