Inheritance diagram for Geo::OGC::Geometry:

Public Member Functions | |
Public Class Methods | |
| Geo::OGC::Geometry | new (hash params) |
| Create a new and initialized object. | |
Public Object Methods | |
| void | init (hash params) |
| Override in new classes but call $self->SUPER::init(params);. | |
| void | copy (scalar clone) |
| Copies the attributes of this object to the other object, which is a newly created object of same class. | |
| Geo::OGC::Geometry | parse_wkt (scalar Text) |
| parse well known text and construct respective geometry | |
| Geo::OGC::Geometry | Clone () |
| Clones this object, i.e., creates a spatially exact copy. | |
| scalar | Precision (scalar Precision) |
| Sets or gets the precision. | |
| scalar | Dimension () |
| The dimension of this geometric object. In non-homogeneous collections, this will return the largest topological dimension of the contained objects. | |
| scalar | GeometryType () |
| Returns the name of the class of this geometric object. | |
| scalar | SRID (scalar SRID) |
| Returns (or sets) the Spatial Reference System ID for this geometric object. | |
| Geo::OGC::Polygon | Envelope () |
| The minimum bounding box for this Geometry. | |
| scalar | as_text (scalar force_parens, scalar include_tag) |
| A helper method used by AsText. | |
| scalar | AsText () |
| Returns this object in Well-known Text Representation of Geometry. | |
| scalar | AsBinary () |
| Returns this object in Well-known Binary Representation of Geometry. | |
| scalar | IsEmpty () |
| Returns true if this object is empty, i.e. contains no points or no data. | |
| scalar | IsSimple () |
| Returns true if this geometric object has no anomalous geometric points, such as self intersection or self tangency. | |
| scalar | Is3D () |
| Returns true if this geometric object has z coordinate values. | |
| scalar | IsMeasured () |
| Returns true if this geometric object has m coordinate values. | |
| Geo::OGC::Geometry | Boundary () |
| Returns the closure of the combinatorial boundary of this geometric object. | |
| scalar | Equals (scalar geom) |
| Returns true if this geometric object is "spatially equal" to the another geometry. | |
| retval | Disjoint (scalar geom) |
| retval | Intersects (scalar geom) |
| retval | Touches (scalar geom) |
| retval | Crosses (scalar geom) |
| retval | Within (scalar geom) |
| retval | Contains (scalar geom) |
| retval | Overlaps (scalar geom) |
| retval | Relate (scalar geom, scalar int_pat) |
| retval | LocateAlong (scalar mValue) |
| retval | LocateBetween (scalar mStart, scalar mEnd) |
| retval | Distance (scalar geom) |
| retval | Buffer (scalar distance) |
| retval | ConvexHull () |
| retval | Intersection (scalar geom) |
| retval | Union (scalar geom) |
| retval | Difference (scalar geom) |
| retval | SymDifference (scalar geom) |
| MakeCollection () | |
| Creates a collection which contains this geometry. | |
| ApplyTransformation (scalar transf) | |
Public Functions | |
| scalar | ccw (scalar x0, scalar y0, scalar x1, scalar y1, scalar x2, scalar y2) |
| counterclockwise from Sedgewick: Algorithms in C | |
| scalar | intersect (scalar x11, scalar y11, scalar x12, scalar y12, scalar x21, scalar y21, scalar x22, scalar y22) |
| Test intersection of two lines from Sedgewick: Algorithms in C. | |
| retval | intersection_point (scalar x11, scalar y11, scalar x12, scalar y12, scalar x21, scalar y21, scalar x22, scalar y22) |
| scalar | distance_point_line_sqr (scalar x, scalar y, scalar x1, scalar y1, scalar x2, scalar y2) |
| Compute the distance of a point to a line. | |
| Geo::OGC::Geometry::ApplyTransformation | ( | scalar | transf | ) |
| transf | A point transformation method which will be applied for all points in the geometry as: ($new_x, $new_y, $new_z) = $transf->($x, $y, $z) |
Reimplemented in Geo::OGC::Point, and Geo::OGC::Curve.
| scalar Geo::OGC::Geometry::as_text | ( | scalar | force_parens, | |
| scalar | include_tag | |||
| ) |
A helper method used by AsText.
Reimplemented in Geo::OGC::Point, Geo::OGC::Curve, Geo::OGC::Polygon, Geo::OGC::PolyhedralSurface, Geo::OGC::GeometryCollection, Geo::OGC::MultiPoint, Geo::OGC::MultiPolygon, and Geo::OGC::MultiLineString.
| scalar Geo::OGC::Geometry::AsBinary | ( | ) |
| scalar Geo::OGC::Geometry::AsText | ( | ) |
Returns this object in Well-known Text Representation of Geometry.
| Geo::OGC::Geometry Geo::OGC::Geometry::Boundary | ( | ) |
Returns the closure of the combinatorial boundary of this geometric object.
Reimplemented in Geo::OGC::Point, and Geo::OGC::MultiPoint.
| retval Geo::OGC::Geometry::Buffer | ( | scalar | distance | ) |
| scalar Geo::OGC::Geometry::ccw | ( | scalar | x0, | |
| scalar | y0, | |||
| scalar | x1, | |||
| scalar | y1, | |||
| scalar | x2, | |||
| scalar | y2 | |||
| ) |
counterclockwise from Sedgewick: Algorithms in C
| Geo::OGC::Geometry Geo::OGC::Geometry::Clone | ( | ) |
| retval Geo::OGC::Geometry::Contains | ( | scalar | geom | ) |
| retval Geo::OGC::Geometry::ConvexHull | ( | ) |
| void Geo::OGC::Geometry::copy | ( | scalar | clone | ) |
Copies the attributes of this object to the other object, which is a newly created object of same class.
Reimplemented in Geo::OGC::Point, Geo::OGC::Curve, Geo::OGC::Polygon, Geo::OGC::PolyhedralSurface, and Geo::OGC::GeometryCollection.
| retval Geo::OGC::Geometry::Crosses | ( | scalar | geom | ) |
| retval Geo::OGC::Geometry::Difference | ( | scalar | geom | ) |
| scalar Geo::OGC::Geometry::Dimension | ( | ) |
The dimension of this geometric object. In non-homogeneous collections, this will return the largest topological dimension of the contained objects.
Reimplemented in Geo::OGC::Point, Geo::OGC::Curve, Geo::OGC::Surface, and Geo::OGC::GeometryCollection.
| retval Geo::OGC::Geometry::Disjoint | ( | scalar | geom | ) |
| retval Geo::OGC::Geometry::Distance | ( | scalar | geom | ) |
Reimplemented in Geo::OGC::Point, Geo::OGC::LineString, Geo::OGC::Polygon, and Geo::OGC::GeometryCollection.
| scalar Geo::OGC::Geometry::distance_point_line_sqr | ( | scalar | x, | |
| scalar | y, | |||
| scalar | x1, | |||
| scalar | y1, | |||
| scalar | x2, | |||
| scalar | y2 | |||
| ) |
Compute the distance of a point to a line.
| Geo::OGC::Polygon Geo::OGC::Geometry::Envelope | ( | ) |
The minimum bounding box for this Geometry.
Reimplemented in Geo::OGC::Point, Geo::OGC::LineString, Geo::OGC::Polygon, and Geo::OGC::GeometryCollection.
| scalar Geo::OGC::Geometry::Equals | ( | scalar | geom | ) |
Returns true if this geometric object is "spatially equal" to the another geometry.
Reimplemented in Geo::OGC::Point, Geo::OGC::Curve, Geo::OGC::Polygon, and Geo::OGC::GeometryCollection.
| scalar Geo::OGC::Geometry::GeometryType | ( | ) |
Returns the name of the class of this geometric object.
Reimplemented in Geo::OGC::Point, Geo::OGC::Curve, Geo::OGC::LineString, Geo::OGC::Line, Geo::OGC::LinearRing, Geo::OGC::Surface, Geo::OGC::Polygon, Geo::OGC::Triangle, Geo::OGC::PolyhedralSurface, Geo::OGC::TIN, Geo::OGC::GeometryCollection, Geo::OGC::MultiSurface, Geo::OGC::MultiCurve, Geo::OGC::MultiPoint, Geo::OGC::MultiPolygon, and Geo::OGC::MultiLineString.
| void Geo::OGC::Geometry::init | ( | hash | params | ) |
Override in new classes but call $self->SUPER::init(params);.
Reimplemented in Geo::OGC::Point, Geo::OGC::Curve, Geo::OGC::Polygon, Geo::OGC::PolyhedralSurface, Geo::OGC::GeometryCollection, and Geo::OGC::MultiPoint.
| scalar Geo::OGC::Geometry::intersect | ( | scalar | x11, | |
| scalar | y11, | |||
| scalar | x12, | |||
| scalar | y12, | |||
| scalar | x21, | |||
| scalar | y21, | |||
| scalar | x22, | |||
| scalar | y22 | |||
| ) |
Test intersection of two lines from Sedgewick: Algorithms in C.
| retval Geo::OGC::Geometry::Intersection | ( | scalar | geom | ) |
Reimplemented in Geo::OGC::Point, Geo::OGC::LineString, and Geo::OGC::Polygon.
| retval Geo::OGC::Geometry::intersection_point | ( | scalar | x11, | |
| scalar | y11, | |||
| scalar | x12, | |||
| scalar | y12, | |||
| scalar | x21, | |||
| scalar | y21, | |||
| scalar | x22, | |||
| scalar | y22 | |||
| ) |
| retval Geo::OGC::Geometry::Intersects | ( | scalar | geom | ) |
| scalar Geo::OGC::Geometry::Is3D | ( | ) |
Returns true if this geometric object has z coordinate values.
Reimplemented in Geo::OGC::Point, Geo::OGC::Curve, Geo::OGC::Polygon, and Geo::OGC::GeometryCollection.
| scalar Geo::OGC::Geometry::IsEmpty | ( | ) |
Returns true if this object is empty, i.e. contains no points or no data.
Reimplemented in Geo::OGC::Point.
| scalar Geo::OGC::Geometry::IsMeasured | ( | ) |
Returns true if this geometric object has m coordinate values.
Reimplemented in Geo::OGC::Point, Geo::OGC::Curve, Geo::OGC::Polygon, Geo::OGC::PolyhedralSurface, and Geo::OGC::GeometryCollection.
| scalar Geo::OGC::Geometry::IsSimple | ( | ) |
Returns true if this geometric object has no anomalous geometric points, such as self intersection or self tangency.
Reimplemented in Geo::OGC::Point, and Geo::OGC::LineString.
| retval Geo::OGC::Geometry::LocateAlong | ( | scalar | mValue | ) |
| retval Geo::OGC::Geometry::LocateBetween | ( | scalar | mStart, | |
| scalar | mEnd | |||
| ) |
| Geo::OGC::Geometry::MakeCollection | ( | ) |
Creates a collection which contains this geometry.
Reimplemented in Geo::OGC::Point, Geo::OGC::Curve, Geo::OGC::LineString, Geo::OGC::Surface, and Geo::OGC::Polygon.
| Geo::OGC::Geometry Geo::OGC::Geometry::new | ( | hash | params | ) |
Create a new and initialized object.
| params | A set of named parameters (the subclasses may add new known parameters):
|
Reimplemented in Geo::OGC::Point, Geo::OGC::Curve, Geo::OGC::LineString, Geo::OGC::Line, Geo::OGC::LinearRing, Geo::OGC::Surface, Geo::OGC::Polygon, Geo::OGC::Triangle, Geo::OGC::PolyhedralSurface, Geo::OGC::TIN, Geo::OGC::GeometryCollection, Geo::OGC::MultiSurface, Geo::OGC::MultiCurve, Geo::OGC::MultiPoint, Geo::OGC::MultiPolygon, and Geo::OGC::MultiLineString.
| retval Geo::OGC::Geometry::Overlaps | ( | scalar | geom | ) |
| Geo::OGC::Geometry Geo::OGC::Geometry::parse_wkt | ( | scalar | Text | ) |
parse well known text and construct respective geometry
| scalar Geo::OGC::Geometry::Precision | ( | scalar | Precision | ) |
Sets or gets the precision.
| retval Geo::OGC::Geometry::Relate | ( | scalar | geom, | |
| scalar | int_pat | |||
| ) |
| scalar Geo::OGC::Geometry::SRID | ( | scalar | SRID | ) |
Returns (or sets) the Spatial Reference System ID for this geometric object.
| SRID | [optional] The new SRID if setting it. |
| retval Geo::OGC::Geometry::SymDifference | ( | scalar | geom | ) |
| retval Geo::OGC::Geometry::Touches | ( | scalar | geom | ) |
| retval Geo::OGC::Geometry::Union | ( | scalar | geom | ) |
| retval Geo::OGC::Geometry::Within | ( | scalar | geom | ) |
Reimplemented in Geo::OGC::Point, Geo::OGC::LineString, and Geo::OGC::Polygon.
1.4.7