View Javadoc

1   /**
2    * File: 	CirculinearElement2D.java
3    * Project: javaGeom
4    * 
5    * Distributed under the LGPL License.
6    *
7    * Created: 11 mai 09
8    */
9   package math.geom2d.circulinear;
10  
11  import math.geom2d.Box2D;
12  import math.geom2d.curve.Curve2D;
13  import math.geom2d.curve.CurveSet2D;
14  import math.geom2d.domain.SmoothOrientedCurve2D;
15  import math.geom2d.transform.CircleInversion2D;
16  
17  
18  /**
19   * <p>
20   * Circulinear elements are lowest level of circulinear curve: each
21   * circulinear curve can be divided into a set of circulinear elements.</p>
22   * <p>
23   * Circulinear elements can be either linear elements (implementations of 
24   * LinearShape2D), or circular elements (circle or circle arcs).</p>
25   * 
26   * @author dlegland
27   *
28   */
29  public interface CirculinearElement2D extends CirculinearContinuousCurve2D,
30  		SmoothOrientedCurve2D {
31  
32  	public Curve2D getParallel(double d);
33  	public Curve2D transform(CircleInversion2D inv);
34  	
35  	public CurveSet2D clip(Box2D box);
36      public Curve2D getSubCurve(double t0, double t1);
37  	public Curve2D getReverseCurve();
38  }