|
Geo::ShapeFile::Point - Geo::ShapeFile utility class. |
use Geo::ShapeFile::Point; use Geo::ShapeFile;
my $point = new Geo::ShapeFile::Point(X => 12345, Y => 54321);
This is a utility class, used by Geo::ShapeFile.
This is a utility class, used by Geo::ShapeFile to represent point data, you should see the Geo::ShapeFile documentation for more information.
Nothing.
This module uses overloaded operators to allow you to use == or eq to compare two point objects. By default points are considered to be equal only if their X, Y, Z, and M attributes are equal. If you want to exclude the Z or M attributes when comparing, you should use comp_includes_z or comp_includes_m when importing the object. Note that you must do this before you load the Geo::ShapeFile module, or it will pass it's own arguments to import, and you will get the default behavior:
DO:
use Geo::ShapeFile::Point comp_includes_m => 0, comp_includes_z => 0; use Geo::ShapeFile;
DONT:
use Geo::ShapeFile; use Geo::ShapeFile::Point comp_includes_m => 0, comp_includes_z => 0; (Geo::ShapeFile already imported Point for you)
X() Y() Z() M()x_min() x_max() y_min() y_max()z_min() z_max() m_min() m_max()distance_from($point)
Please send any bugs, suggestions, or feature requests to <geo-shapefile-bugs@jasonkohles.com>.
Geo::ShapeFile
Jason Kohles, <email@jasonkohles.com
Copyright 2002,2003 by Jason Kohles
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
|
Geo::ShapeFile::Point - Geo::ShapeFile utility class. |