math.geom2d.circulinear
Interface CircleLine2D

All Superinterfaces:
Boundary2D, CirculinearBoundary2D, CirculinearContinuousCurve2D, CirculinearContour2D, CirculinearCurve2D, CirculinearElement2D, CirculinearShape2D, java.lang.Cloneable, ContinuousCurve2D, ContinuousOrientedCurve2D, Contour2D, Curve2D, GeometricObject2D, OrientedCurve2D, Shape2D, SmoothContour2D, SmoothCurve2D, SmoothOrientedCurve2D
All Known Implementing Classes:
Circle2D, StraightLine2D

public interface CircleLine2D
extends CirculinearContour2D, CirculinearElement2D, SmoothContour2D

Tagging interface to be able to consider in a same way circles and lines.

Author:
dlegland

Field Summary
 
Fields inherited from interface math.geom2d.Shape2D
ACCURACY
 
Method Summary
 CircleLine2D parallel(double dist)
          Creates a new curve, formed by the points with parameterization: p(t) = c(t) + d*n(t)/|n(t)|, with p(t) being a point of the original curve, n(t) the normal of the curve, and |n| being the norm of n.
 CircleLine2D reverse()
          Computes the reversed contour.
 CircleLine2D transform(CircleInversion2D inv)
          Transforms the shape by a circle inversion.
 
Methods inherited from interface math.geom2d.circulinear.CirculinearBoundary2D
clip, continuousCurves, domain
 
Methods inherited from interface math.geom2d.circulinear.CirculinearElement2D
clip, subCurve
 
Methods inherited from interface math.geom2d.circulinear.CirculinearContinuousCurve2D
smoothPieces
 
Methods inherited from interface math.geom2d.circulinear.CirculinearCurve2D
length, length, position
 
Methods inherited from interface math.geom2d.circulinear.CirculinearShape2D
buffer
 
Methods inherited from interface math.geom2d.domain.SmoothContour2D
transform
 
Methods inherited from interface math.geom2d.curve.SmoothCurve2D
normal, tangent
 
Methods inherited from interface math.geom2d.domain.Boundary2D
fill, isInside
 
Methods inherited from interface math.geom2d.curve.ContinuousCurve2D
appendPath, asPolyline, curvature, isClosed, leftTangent, rightTangent
 
Methods inherited from interface math.geom2d.domain.OrientedCurve2D
signedDistance, signedDistance, windingAngle
 
Methods inherited from interface math.geom2d.curve.Curve2D
asAwtShape, clone, draw, firstPoint, getT0, getT1, intersections, isSingular, lastPoint, point, position, project, singularPoints, t0, t1, vertices
 
Methods inherited from interface math.geom2d.Shape2D
boundingBox, contains, contains, distance, distance, isBounded, isEmpty
 
Methods inherited from interface math.geom2d.GeometricObject2D
almostEquals
 

Method Detail

parallel

CircleLine2D parallel(double dist)
Description copied from interface: CirculinearCurve2D
Creates a new curve, formed by the points with parameterization: p(t) = c(t) + d*n(t)/|n(t)|, with p(t) being a point of the original curve, n(t) the normal of the curve, and |n| being the norm of n.
In the case of a continuous curve formed by several smooth circulinear elements, the parallels of contiguous elements are joined by a circle arc.

Specified by:
parallel in interface CirculinearBoundary2D
Specified by:
parallel in interface CirculinearContinuousCurve2D
Specified by:
parallel in interface CirculinearContour2D
Specified by:
parallel in interface CirculinearCurve2D
Specified by:
parallel in interface CirculinearElement2D
Parameters:
dist - the distance between the original curve and he parallel curve.
Returns:
the parallel curve

transform

CircleLine2D 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 CirculinearBoundary2D
Specified by:
transform in interface CirculinearContinuousCurve2D
Specified by:
transform in interface CirculinearContour2D
Specified by:
transform in interface CirculinearCurve2D
Specified by:
transform in interface CirculinearElement2D
Specified by:
transform in interface CirculinearShape2D
Parameters:
inv - the circle inversion
Returns:
the transformed shape

reverse

CircleLine2D reverse()
Description copied from interface: Contour2D
Computes the reversed contour.

Specified by:
reverse in interface Boundary2D
Specified by:
reverse in interface CirculinearBoundary2D
Specified by:
reverse in interface CirculinearContinuousCurve2D
Specified by:
reverse in interface CirculinearContour2D
Specified by:
reverse in interface CirculinearCurve2D
Specified by:
reverse in interface CirculinearElement2D
Specified by:
reverse in interface ContinuousCurve2D
Specified by:
reverse in interface ContinuousOrientedCurve2D
Specified by:
reverse in interface Contour2D
Specified by:
reverse in interface Curve2D
Specified by:
reverse in interface OrientedCurve2D
Specified by:
reverse in interface SmoothContour2D
Specified by:
reverse in interface SmoothCurve2D
Specified by:
reverse in interface SmoothOrientedCurve2D