uk.ac.leeds.ccg.andyt.vector.geometry
Class Vector_Line2D

java.lang.Object
  extended by uk.ac.leeds.ccg.andyt.vector.geometry.Vector_AbstractGeometry2D
      extended by uk.ac.leeds.ccg.andyt.vector.geometry.Vector_Line2D
All Implemented Interfaces:
java.io.Serializable

public class Vector_Line2D
extends Vector_AbstractGeometry2D

See Also:
Serialized Form

Field Summary
 
Fields inherited from class uk.ac.leeds.ccg.andyt.vector.geometry.Vector_AbstractGeometry2D
_DecimalPlacePrecision_Integer, _RoundingMode, _Vector_Environment
 
Constructor Summary
Vector_Line2D(java.math.BigDecimal a_AngleClockwiseFromYAxis, Vector_Point2D a_Point2D)
           
Vector_Line2D(double angleClockwiseFromYAxis, Vector_Point2D a_Point2D)
           
 
Method Summary
 void applyDecimalPlacePrecision()
           
 Vector_Envelope2D getEnvelope2D()
          Potential precision issues with Envelope extent...
 Vector_Point2D[] getExtremePointsOnLine(double ydiffExtremity)
           
 Vector_AbstractGeometry2D getIntersection(Vector_Line2D a_Line2D, double ydiffExtremity, int a_DecimalPlacePrecision)
           
 
Methods inherited from class uk.ac.leeds.ccg.andyt.vector.geometry.Vector_AbstractGeometry2D
get_DecimalPlacePrecision, get_RoundingMode, getDefault_RoundingMode, getDefaultDecimalPlacePrecision_int, set_DecimalPlacePrecision, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Vector_Line2D

public Vector_Line2D(double angleClockwiseFromYAxis,
                     Vector_Point2D a_Point2D)

Vector_Line2D

public Vector_Line2D(java.math.BigDecimal a_AngleClockwiseFromYAxis,
                     Vector_Point2D a_Point2D)
Method Detail

getEnvelope2D

public Vector_Envelope2D getEnvelope2D()
Potential precision issues with Envelope extent...

Specified by:
getEnvelope2D in class Vector_AbstractGeometry2D
Returns:

applyDecimalPlacePrecision

public void applyDecimalPlacePrecision()
Specified by:
applyDecimalPlacePrecision in class Vector_AbstractGeometry2D

getExtremePointsOnLine

public Vector_Point2D[] getExtremePointsOnLine(double ydiffExtremity)
Parameters:
ydiffExtremity -
Returns:

getIntersection

public Vector_AbstractGeometry2D getIntersection(Vector_Line2D a_Line2D,
                                                 double ydiffExtremity,
                                                 int a_DecimalPlacePrecision)