math.geom2d.circulinear
Class GenericCirculinearDomain2D

Package class diagram package GenericCirculinearDomain2D
java.lang.Object
  extended by math.geom2d.domain.GenericDomain2D
      extended by math.geom2d.circulinear.GenericCirculinearDomain2D
All Implemented Interfaces:
Serializable, CirculinearDomain2D, CirculinearShape2D, Domain2D, Shape2D

public class GenericCirculinearDomain2D
extends GenericDomain2D
implements CirculinearDomain2D

A specialization of GenericDomain2D, whose boundary is constrained to be circulinear.

Author:
dlegland
See Also:
Serialized Form

Field Summary
 
Fields inherited from class math.geom2d.domain.GenericDomain2D
boundary
 
Fields inherited from interface math.geom2d.Shape2D
ACCURACY
 
Constructor Summary
GenericCirculinearDomain2D(CirculinearBoundary2D boundary)
           
 
Method Summary
 CirculinearBoundary2D getBoundary()
          Returns the boundary of the set.
 CirculinearDomain2D getBuffer(double dist)
          Computes the buffer of the shape, formed by the set of points located at a distance from the shape that is lower or equal to d.
 CirculinearDomain2D transform(CircleInversion2D inv)
          Transforms the shape by a circle inversion.
 
Methods inherited from class math.geom2d.domain.GenericDomain2D
clip, complement, contains, contains, draw, fill, getBoundingBox, getDistance, getDistance, isBounded, isEmpty, transform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface math.geom2d.domain.Domain2D
clip, complement, draw, fill, transform
 
Methods inherited from interface math.geom2d.Shape2D
contains, contains, getBoundingBox, getDistance, getDistance, isBounded, isEmpty
 

Constructor Detail

GenericCirculinearDomain2D

public GenericCirculinearDomain2D(CirculinearBoundary2D boundary)
Method Detail

getBoundary

public CirculinearBoundary2D getBoundary()
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:
getBoundary in interface CirculinearDomain2D
Specified by:
getBoundary in interface Domain2D
Overrides:
getBoundary in class GenericDomain2D
Returns:
the boundary of the domain

getBuffer

public CirculinearDomain2D getBuffer(double dist)
Description copied from interface: CirculinearShape2D
Computes the buffer of the shape, formed by the set of points located at a distance from the shape that is lower or equal to d.

Specified by:
getBuffer in interface CirculinearShape2D
Parameters:
dist - the maximal distance between a point of the buffer and the shape
Returns:
the buffer of the shape

transform

public 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 CirculinearDomain2D
Specified by:
transform in interface CirculinearShape2D
Parameters:
inv - the circle inversion
Returns:
the transformed shape


Copyright © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.