Class LineGeometryImpl
java.lang.Object
org.gvsig.fmap.mapcontrol.tools.Behavior.LineGeometryImpl
- All Implemented Interfaces:
LineGeometry
- Author:
- omartinez
-
Constructor Summary
ConstructorsConstructorDescriptionLineGeometryImpl(double x0, double y0, double x1, double y1) LineGeometryImpl(org.gvsig.fmap.geom.primitive.Point p0, org.gvsig.fmap.geom.primitive.Point p1) -
Method Summary
Modifier and TypeMethodDescriptiondoubleangleWith(LineGeometry lineToGetAngle) doubleangleWith(LineGeometry lineToGetAngle, org.gvsig.fmap.geom.primitive.Point cuadrant) doubleangleWithGradient(double gradient) doubledoubledoublegetX0()doublegetX1()doublegetY0()doublegetY1()
-
Constructor Details
-
LineGeometryImpl
public LineGeometryImpl(double x0, double y0, double x1, double y1) -
LineGeometryImpl
public LineGeometryImpl(org.gvsig.fmap.geom.primitive.Point p0, org.gvsig.fmap.geom.primitive.Point p1)
-
-
Method Details
-
angleWithGradient
public double angleWithGradient(double gradient) - Specified by:
angleWithGradientin interfaceLineGeometry
-
angleWith
- Specified by:
angleWithin interfaceLineGeometry
-
angleWith
- Specified by:
angleWithin interfaceLineGeometry
-
getGradient
public double getGradient()- Specified by:
getGradientin interfaceLineGeometry
-
getIntercept
public double getIntercept()- Specified by:
getInterceptin interfaceLineGeometry
-
getX0
public double getX0()- Specified by:
getX0in interfaceLineGeometry
-
getY0
public double getY0()- Specified by:
getY0in interfaceLineGeometry
-
getX1
public double getX1()- Specified by:
getX1in interfaceLineGeometry
-
getY1
public double getY1()- Specified by:
getY1in interfaceLineGeometry
-