math.geom2d.circulinear
Interface CirculinearShape2D

All Superinterfaces:
GeometricObject2D, Shape2D
All Known Subinterfaces:
CircleLine2D, CircularShape2D, CirculinearBoundary2D, CirculinearContinuousCurve2D, CirculinearContour2D, CirculinearCurve2D, CirculinearCurveSet2D<T>, CirculinearDomain2D, CirculinearElement2D, CirculinearRing2D, LinearElement2D, LinearShape2D, PointSet2D, PointShape2D, Polygon2D
All Known Implementing Classes:
AbstractLine2D, BoundaryPolyCirculinearCurve2D, Circle2D, CircleArc2D, CirculinearContourArray2D, CirculinearCurveArray2D, GenericCirculinearDomain2D, GenericCirculinearRing2D, HRectangle2D, InvertedRay2D, Line2D, LineArc2D, LinearCurve2D, LinearRing2D, LineSegment2D, MultiPolygon2D, Point2D, PointArray2D, PolyCirculinearCurve2D, Polyline2D, Ray2D, Rectangle2D, SimplePolygon2D, StraightLine2D

public interface CirculinearShape2D
extends Shape2D

CirculinearShape comprises shapes which can be described from lines (or linear shapes) and circles (or circle arcs). They allow several operations: the computation of buffer (set of points located less than a given distance), and transformation using a circle inversion.

Author:
dlegland

Field Summary
 
Fields inherited from interface math.geom2d.Shape2D
ACCURACY
 
Method Summary
 CirculinearDomain2D buffer(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.
 CirculinearShape2D transform(CircleInversion2D inv)
          Transforms the shape by a circle inversion.
 
Methods inherited from interface math.geom2d.Shape2D
boundingBox, clip, contains, contains, distance, distance, draw, isBounded, isEmpty, transform
 
Methods inherited from interface math.geom2d.GeometricObject2D
almostEquals
 

Method Detail

buffer

CirculinearDomain2D buffer(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.

Parameters:
dist - the maximal distance between a point of the buffer and the shape
Returns:
the buffer of the shape

transform

CirculinearShape2D transform(CircleInversion2D inv)
Transforms the shape by a circle inversion. The result is still an instance a CirculinearShape2D.

Parameters:
inv - the circle inversion
Returns:
the transformed shape