math.geom2d.circulinear
Class GenericCirculinearDomain2D
- java.lang.Object
-
- math.geom2d.domain.GenericDomain2D
-
- math.geom2d.circulinear.GenericCirculinearDomain2D
-
- All Implemented Interfaces:
- CirculinearDomain2D, CirculinearShape2D, Domain2D, GeometricObject2D, Shape2D
public class GenericCirculinearDomain2D extends GenericDomain2D implements CirculinearDomain2D
A specialization of GenericDomain2D, whose boundary is constrained to be circulinear.
-
-
Constructor Summary
Constructors Constructor and Description GenericCirculinearDomain2D(CirculinearBoundary2D boundary)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description CirculinearBoundary2Dboundary()Returns the boundary of the set.CirculinearDomain2Dbuffer(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.CirculinearDomain2Dcomplement()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.static GenericCirculinearDomain2Dcreate(CirculinearBoundary2D boundary)java.lang.StringtoString()CirculinearDomain2Dtransform(CircleInversion2D inv)Transforms the shape by a circle inversion.-
Methods inherited from class math.geom2d.domain.GenericDomain2D
almostEquals, asPolygon, boundingBox, clip, contains, contains, create, distance, distance, draw, equals, fill, isBounded, isEmpty, transform
-
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface math.geom2d.Shape2D
boundingBox, contains, contains, distance, distance, isBounded, isEmpty
-
Methods inherited from interface math.geom2d.GeometricObject2D
almostEquals
-
-
-
-
Constructor Detail
-
GenericCirculinearDomain2D
public GenericCirculinearDomain2D(CirculinearBoundary2D boundary)
-
-
Method Detail
-
create
public static GenericCirculinearDomain2D create(CirculinearBoundary2D boundary)
-
boundary
public CirculinearBoundary2D boundary()
Description copied from interface:Domain2DReturns 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:
boundaryin interfaceCirculinearDomain2D- Specified by:
boundaryin interfaceDomain2D- Overrides:
boundaryin classGenericDomain2D- Returns:
- the boundary of the domain
-
contours
public java.util.Collection<? extends CirculinearContour2D> contours()
Description copied from interface:Domain2DReturns the set of contours that enclose this domain. The result is a collection of shapes that implement the Contour2D interface.- Specified by:
contoursin interfaceCirculinearDomain2D- Specified by:
contoursin interfaceDomain2D- Overrides:
contoursin classGenericDomain2D- See Also:
Contour2D
-
complement
public CirculinearDomain2D complement()
Description copied from interface:Domain2DReturns the domain which complements this domain in the plane.- Specified by:
complementin interfaceCirculinearDomain2D- Specified by:
complementin interfaceDomain2D- Overrides:
complementin classGenericDomain2D- Returns:
- the complement of this domain.
-
buffer
public CirculinearDomain2D buffer(double dist)
Description copied from interface:CirculinearShape2DComputes 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:
bufferin interfaceCirculinearShape2D- 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:CirculinearShape2DTransforms the shape by a circle inversion. The result is still an instance a CirculinearShape2D.- Specified by:
transformin interfaceCirculinearDomain2D- Specified by:
transformin interfaceCirculinearShape2D- Parameters:
inv- the circle inversion- Returns:
- the transformed shape
-
toString
public java.lang.String toString()
- Overrides:
toStringin classGenericDomain2D
-
-
DMelt 3.0 © DataMelt by jWork.ORG