svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.library / org.gvsig.fmap.control / src / main / java / org / gvsig / fmap / mapcontrol / tools / Behavior / LineGeometry.java @ 45680
History | View | Annotate | Download (703 Bytes)
1 |
/*
|
---|---|
2 |
* To change this license header, choose License Headers in Project Properties.
|
3 |
* To change this template file, choose Tools | Templates
|
4 |
* and open the template in the editor.
|
5 |
*/
|
6 |
package org.gvsig.fmap.mapcontrol.tools.Behavior; |
7 |
|
8 |
import org.gvsig.fmap.geom.primitive.Point; |
9 |
|
10 |
/**
|
11 |
*
|
12 |
* @author omartinez
|
13 |
*/
|
14 |
public interface LineGeometry { |
15 |
|
16 |
public double angleWith(LineGeometry line); |
17 |
public double angleWith(LineGeometry lineToGetAngle, Point cuadrant); |
18 |
public double angleWithGradient(double gradient); |
19 |
public double getGradient(); |
20 |
public double getIntercept(); |
21 |
public double getX0(); |
22 |
public double getY0(); |
23 |
public double getX1(); |
24 |
public double getY1(); |
25 |
} |