Class PolygonExpression<T extends org.geolatte.geom.Polygon>

Type Parameters:
T -
All Implemented Interfaces:
Expression<T>, Serializable
Direct Known Subclasses:
PolygonOperation, PolygonPath

public abstract class PolygonExpression<T extends org.geolatte.geom.Polygon> extends SurfaceExpression<T>
A Polygon is a planar Surface defined by 1 exterior boundary and 0 or more interior boundaries. Each interior boundary defines a hole in the Polygon. A Triangle is a polygon with 3 distinct, non-collinear vertices and no interior boundary.
Author:
tiwe
See Also:
  • Constructor Details

    • PolygonExpression

      public PolygonExpression(Expression<T> mixin)
  • Method Details

    • exteriorRing

      public LineStringExpression<?> exteriorRing()
      Returns the exterior ring of this Polygon.
      Returns:
      exterior ring
    • numInteriorRing

      public NumberExpression<Integer> numInteriorRing()
      Returns the number of interior rings in this Polygon.
      Returns:
      number of interior rings
    • interiorRingN

      public LineStringExpression<org.geolatte.geom.LineString> interiorRingN(int idx)
      Returns the N th interior ring for this Polygon as a LineString.
      Parameters:
      idx - one based index
      Returns:
      interior ring at index