View Javadoc

1   /**
2    * File: 	ContinuousCirculinearCurve2D.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.domain.ContinuousOrientedCurve2D;
17  import math.geom2d.transform.CircleInversion2D;
18  
19  
20  /**
21   * A tagging interface defining a circulinear curve which is continuous.
22   * @author dlegland
23   * @deprecated replaced by CirculinearContinuousCurve2D
24   */
25  @Deprecated
26  public interface ContinuousCirculinearCurve2D extends CirculinearCurve2D,
27  		ContinuousOrientedCurve2D {
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  }