Geo::Space - A collection of various items
Geo::Space is a Geo::Shape
my $island1 = Geo::Line->filled(...); my $island2 = Geo::Space->new(...); my $islands = Geo::Space->new($island1, $island2)
Where a Geo::Surface can only contains sets of nested polygons, the Space can contain anything you like: lines, points, and unrelated polygons.
Extends "DESCRIPTION" in Geo::Shape.
Extends "METHODS" in Geo::Shape.
Extends "Constructors" in Geo::Shape.
When called as instance method, some defaults are copied from the object where the call is made upon. Usually called as class method.
$components are Math::Polygon, Math::Polygon::Surface, Geo::Point, Geo::Line, Geo::Surface, Geo::Space objects.
-Option--Defined in--Default proj Geo::Shape see Geo::Proj::defaultProjection()
Extends "Attributes" in Geo::Shape.
Returns the component (or components) with the specified $index(es). One Geo::Shape object in scalar context, and multiple in list context.
Returns a list of Geo::Shape objects, all located in this space.
Returns a list of Geo::Line objects, which are defined as separate components.
Returns the number of components.
Returns true when all components are lines; Geo::Line objects.
Returns true when all components are points; Geo::Point objects.
Returns true when all components are closed lines; Geo::Line objects each defined as ring.
Returns a list of Geo::Point objects, which are defined as separate components.
Inherited, see "Attributes" in Geo::Shape
Extends "Projections" in Geo::Shape.
Inherited, see "Projections" in Geo::Shape
Extends "Geometry" in Geo::Shape.
Returns the area enclosed by the combined components. Only useful when the points are in some orthogonal projection.
Inherited, see "Geometry" in Geo::Shape
The length of the outer polygons of all components. Only useful in a orthogonal coordinate systems.
Extends "Display" in Geo::Shape.
Inherited, see "Display" in Geo::Shape
Returns a string representation of the line, which is also used for stringification.
example:
Extends "OVERLOAD" in Geo::Shape.
Inherited, see "OVERLOAD" in Geo::Shape
Only a subset of all objects can be used in the distance calculation. The limitation is purely caused by lack of time to implement this.
This module is part of Geo-Point distribution version 0.99, built on February 09, 2021. Website: http://perl.overmeer.net/CPAN/
Copyrights 2005-2021 by [Mark Overmeer]. For other contributors see ChangeLog.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://dev.perl.org/licenses/
To install Geo::Point, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Geo::Point
CPAN shell
perl -MCPAN -e shell install Geo::Point
For more information on module installation, please visit the detailed CPAN module installation guide.