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 |
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 the number of components.
Returns true when all components are points; Geo::Point objects.
Returns a list of Geo::Point objects, which are defined as separate components.
Returns the area enclosed by the combined components. Only useful when the points are in some orthogonal projection.
Detailed calculation whether two spaces are equal is a lot of work. Therefore, only exactly equal spaces are considered equivalent: even the order of the components must be the same.
The length of the outer polygons of all components. Only useful in a orthogonal coordinate systems.