net.sourceforge.plantuml.geom
Class LineSegmentDouble
java.lang.Object
java.awt.geom.Line2D
net.sourceforge.plantuml.geom.AbstractLineSegment
net.sourceforge.plantuml.geom.LineSegmentDouble
- All Implemented Interfaces:
- Shape, Cloneable
public class LineSegmentDouble
- extends AbstractLineSegment
Methods inherited from class net.sourceforge.plantuml.geom.AbstractLineSegment |
determinant, doesIntersect, equals, getAngle, getBounds2D, getDistance, getDistance, getLength, getOppositeAngle, getPoint2D, getSegIntersection, hashCode, isHorizontal, isVertical, setLine, side, startTranslatedAsVector |
Methods inherited from class java.awt.geom.Line2D |
clone, contains, contains, contains, contains, getBounds, getPathIterator, getPathIterator, intersects, intersects, intersectsLine, intersectsLine, linesIntersect, ptLineDist, ptLineDist, ptLineDist, ptLineDistSq, ptLineDistSq, ptLineDistSq, ptSegDist, ptSegDist, ptSegDist, ptSegDistSq, ptSegDistSq, ptSegDistSq, relativeCCW, relativeCCW, relativeCCW, setLine, setLine |
LineSegmentDouble
public LineSegmentDouble(double x1,
double y1,
double x2,
double y2)
LineSegmentDouble
public LineSegmentDouble(Point2D p1,
Point2D p2)
toString
public String toString()
- Overrides:
toString
in class Object
getP1
public Point2D getP1()
- Specified by:
getP1
in class Line2D
getP2
public Point2D getP2()
- Specified by:
getP2
in class Line2D
getX1
public double getX1()
- Specified by:
getX1
in class Line2D
getX2
public double getX2()
- Specified by:
getX2
in class Line2D
getY1
public double getY1()
- Specified by:
getY1
in class Line2D
getY2
public double getY2()
- Specified by:
getY2
in class Line2D
Copyright © 2011. All Rights Reserved.