math.geom2d.circulinear
Interface CirculinearBoundary2D
-
- All Superinterfaces:
- Boundary2D, CirculinearCurve2D, CirculinearShape2D, java.lang.Cloneable, Curve2D, GeometricObject2D, OrientedCurve2D, Shape2D
- All Known Subinterfaces:
- CircleLine2D, CirculinearContour2D, CirculinearRing2D
- All Known Implementing Classes:
- BoundaryPolyCirculinearCurve2D, Circle2D, CirculinearContourArray2D, GenericCirculinearRing2D, LinearRing2D, StraightLine2D
public interface CirculinearBoundary2D extends CirculinearCurve2D, Boundary2D
A Boundary which is composed of Circulinear elements.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description CurveSet2D<? extends CirculinearContinuousCurve2D>clip(Box2D box)Clip the shape with the given box, and returns a new shape.java.util.Collection<? extends CirculinearContour2D>continuousCurves()Returns the collection of continuous circulinear curves which constitute this curve.CirculinearDomain2Ddomain()Returns the domain delimited by this boundary.CirculinearBoundary2Dparallel(double d)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.CirculinearBoundary2Dreverse()Returns the curve with same trace on the plane with parameterization in reverse order.CirculinearBoundary2Dtransform(CircleInversion2D inv)Transforms the shape by a circle inversion.-
Methods inherited from interface math.geom2d.circulinear.CirculinearCurve2D
length, length, position, subCurve
-
Methods inherited from interface math.geom2d.circulinear.CirculinearShape2D
buffer
-
Methods inherited from interface math.geom2d.domain.Boundary2D
fill, isInside, transform
-
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
-
domain
CirculinearDomain2D domain()
Description copied from interface:Boundary2DReturns the domain delimited by this boundary.- Specified by:
domainin interfaceBoundary2D- Returns:
- the domain delimited by this boundary
-
parallel
CirculinearBoundary2D parallel(double d)
Description copied from interface:CirculinearCurve2DCreates 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:
parallelin interfaceCirculinearCurve2D- Parameters:
d- the distance between the original curve and he parallel curve.- Returns:
- the parallel curve
-
continuousCurves
java.util.Collection<? extends CirculinearContour2D> continuousCurves()
Description copied from interface:CirculinearCurve2DReturns the collection of continuous circulinear curves which constitute this curve.- Specified by:
continuousCurvesin interfaceBoundary2D- Specified by:
continuousCurvesin interfaceCirculinearCurve2D- Specified by:
continuousCurvesin interfaceCurve2D- Returns:
- a collection of continuous circulinear curves.
-
clip
CurveSet2D<? extends CirculinearContinuousCurve2D> clip(Box2D box)
Description copied from interface:Shape2DClip the shape with the given box, and returns a new shape. The box must be bounded.- Specified by:
clipin interfaceCirculinearCurve2D- Specified by:
clipin interfaceCurve2D- Specified by:
clipin interfaceOrientedCurve2D- Specified by:
clipin interfaceShape2D- Parameters:
box- the clipping box- Returns:
- the clipped shape
-
transform
CirculinearBoundary2D 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 interfaceCirculinearCurve2D- Specified by:
transformin interfaceCirculinearShape2D- Parameters:
inv- the circle inversion- Returns:
- the transformed shape
-
reverse
CirculinearBoundary2D reverse()
Description copied from interface:Curve2DReturns the curve with same trace on the plane with parameterization in reverse order.- Specified by:
reversein interfaceBoundary2D- Specified by:
reversein interfaceCirculinearCurve2D- Specified by:
reversein interfaceCurve2D- Specified by:
reversein interfaceOrientedCurve2D
-
-
DMelt 3.0 © DataMelt by jWork.ORG