Class GeoRuby::SimpleFeatures::LineString
In: lib/geo_ruby/simple_features/line_string.rb
Parent: Geometry

Represents a line string as an array of points (see Point).

Methods

Attributes

points  [R]  the list of points forming the line string

Public Class methods

Creates a new line string. Accept a sequence of points as argument : ((x,y)…(x,y))

Creates a new line string. Accept an array of points as argument

Public Instance methods

Tests the equality of line strings

Bounding box in 2D/3D. Returns an array of 2 points

tests if the line string is closed

Delegate the unknown methods to the points array

[Validate]