math.geom2d.line
Class Polyline2DUtils

Package class diagram package Polyline2DUtils
java.lang.Object
  extended by math.geom2d.line.Polyline2DUtils

Deprecated. use math.geom2d.polygon.Polyline2DUtils instead (0.7.0)

@Deprecated
public abstract class Polyline2DUtils
extends Object

Some utility functions for manipulating Polyline2D.

Since:
0.6.3
Author:
dlegland

Constructor Summary
Polyline2DUtils()
          Deprecated.  
 
Method Summary
static BoundaryPolyCurve2D<SmoothOrientedCurve2D> createClosedParallel(ClosedPolyline2D polyline, double d)
          Deprecated. Creates a curve parallel to the given polyline, at a distance d.
static PolyOrientedCurve2D<SmoothOrientedCurve2D> createParallel(Polyline2D polyline, double d)
          Deprecated. Creates a curve parallel to the given polyline, at a distance d.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Polyline2DUtils

public Polyline2DUtils()
Deprecated. 
Method Detail

createParallel

public static final PolyOrientedCurve2D<SmoothOrientedCurve2D> createParallel(Polyline2D polyline,
                                                                              double d)
Deprecated. 
Creates a curve parallel to the given polyline, at a distance d. The resulting curve is continuous, but can self-intersect. It is composed of line segments, and circle arcs.

Parameters:
polyline - the source curve
d - the signed distance between the original curve and its parallel
Returns:
the curve parallel to the original curve at a distance d

createClosedParallel

public static final BoundaryPolyCurve2D<SmoothOrientedCurve2D> createClosedParallel(ClosedPolyline2D polyline,
                                                                                    double d)
Deprecated. 
Creates a curve parallel to the given polyline, at a distance d. The resulting curve is continuous, but can self-intersect. It is composed of line segments, and circle arcs.

Parameters:
polyline - the source curve
d - the signed distance between the original curve and its parallel
Returns:
the curve parallel to the original curve at a distance d


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