math.geom2d.circulinear
Interface CirculinearDomain2D

All Superinterfaces:
CirculinearShape2D, Domain2D, GeometricObject2D, Shape2D
All Known Subinterfaces:
Polygon2D
All Known Implementing Classes:
GenericCirculinearDomain2D, HRectangle2D, MultiPolygon2D, Rectangle2D, SimplePolygon2D

public interface CirculinearDomain2D
extends CirculinearShape2D, Domain2D

A domain whose boundary is a circulinear curve.

Author:
dlegland

Field Summary
 
Fields inherited from interface math.geom2d.Shape2D
ACCURACY
 
Method Summary
 CirculinearBoundary2D boundary()
          Returns the boundary of the set.
 CirculinearDomain2D complement()
          Returns the domain which complements this domain in the plane.
 java.util.Collection<? extends CirculinearContour2D> contours()
          Returns the set of contours that enclose this domain.
 CirculinearDomain2D transform(CircleInversion2D inv)
          Transforms the shape by a circle inversion.
 
Methods inherited from interface math.geom2d.circulinear.CirculinearShape2D
buffer
 
Methods inherited from interface math.geom2d.domain.Domain2D
asPolygon, clip, draw, fill, transform
 
Methods inherited from interface math.geom2d.Shape2D
boundingBox, contains, contains, distance, distance, isBounded, isEmpty
 
Methods inherited from interface math.geom2d.GeometricObject2D
almostEquals
 

Method Detail

boundary

CirculinearBoundary2D boundary()
Description copied from interface: Domain2D
Returns the boundary of the set. This boundary is either a continuous non intersecting curve (connected domain), or a set of non intersecting continuous curve (one continuous non-intersection for each connected part of the domain).

The returned curve is oriented, with an interior and an exterior.

Specified by:
boundary in interface Domain2D
Returns:
the boundary of the domain

contours

java.util.Collection<? extends CirculinearContour2D> contours()
Description copied from interface: Domain2D
Returns the set of contours that enclose this domain. The result is a collection of shapes that implement the Contour2D interface.

Specified by:
contours in interface Domain2D
See Also:
Contour2D

complement

CirculinearDomain2D complement()
Description copied from interface: Domain2D
Returns the domain which complements this domain in the plane.

Specified by:
complement in interface Domain2D
Returns:
the complement of this domain.

transform

CirculinearDomain2D transform(CircleInversion2D inv)
Description copied from interface: CirculinearShape2D
Transforms the shape by a circle inversion. The result is still an instance a CirculinearShape2D.

Specified by:
transform in interface CirculinearShape2D
Parameters:
inv - the circle inversion
Returns:
the transformed shape