View Javadoc

1   /**
2    * File: 	CirculinearContinuousCurve2D.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 java.util.Collection;
12  
13  import math.geom2d.Box2D;
14  import math.geom2d.curve.Curve2D;
15  import math.geom2d.curve.CurveSet2D;
16  import math.geom2d.transform.CircleInversion2D;
17  
18  
19  /**
20   * A tagging interface defining a circulinear curve which is continuous.
21   * @author dlegland
22   *
23   */
24  @SuppressWarnings("deprecation")
25  public interface CirculinearContinuousCurve2D 
26  extends ContinuousCirculinearCurve2D {
27  	//TODO: remove inheritance to deprecated interface
28      // ===================================================================
29      // redefines declaration of CirculinearCurve2D interfaces
30  
31  	public Curve2D getParallel(double d);
32  	public Curve2D transform(CircleInversion2D inv);
33  	
34  	// ===================================================================
35      // redefines declaration of some parent interfaces
36  
37  	/**
38       * Returns a set of circulinear elements, which are basis for circulinear
39       * curves.
40       */
41      public abstract Collection<? extends CirculinearElement2D> getSmoothPieces();
42  
43      public CurveSet2D clip(Box2D box);
44  	public Curve2D getSubCurve(double t0, double t1);
45  	public Curve2D getReverseCurve();
46  }