uk.ac.leeds.ccg.andyt.vector.geometry
Class Envelope2D
java.lang.Object
uk.ac.leeds.ccg.andyt.vector.geometry.AbstractGeometry2D
uk.ac.leeds.ccg.andyt.vector.geometry.Envelope2D
public class Envelope2D
- extends AbstractGeometry2D
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Envelope2D
public Envelope2D(Envelope2D aEnvelope2D)
Envelope2D
public Envelope2D(AbstractGeometry2D aAbstractGeometry2D)
Envelope2D
public Envelope2D(Point2D aPoint,
Point2D bPoint)
Envelope2D
public Envelope2D(java.math.BigDecimal x,
java.math.BigDecimal y)
Envelope2D
public Envelope2D(AbstractGeometry2D[] aAbstractGeometry2DArray)
toString
public java.lang.String toString()
- Overrides:
toString
in class AbstractGeometry2D
intersects
public boolean intersects(Envelope2D aEnvelope2D)
- If aEnvelope2D touches, or overlaps then it intersects.
getIntersects
public int getIntersects(LineSegment2D a_LineSegment2D)
- Parameters:
a_LineSegment2D
-
- Returns:
- 0 if no, 1 if yes, 2 if maybe.
getIntersects
public boolean getIntersects(Point2D aPoint)
getIntersects
public boolean getIntersects(java.math.BigDecimal x,
java.math.BigDecimal y)
getEnvelope2D
public Envelope2D getEnvelope2D()
- Specified by:
getEnvelope2D
in class AbstractGeometry2D
applyDecimalPlacePrecision
public void applyDecimalPlacePrecision()
- Specified by:
applyDecimalPlacePrecision
in class AbstractGeometry2D