public class LineSegmentDouble extends AbstractLineSegment
Line2D.Double, Line2D.Float| Constructor and Description |
|---|
LineSegmentDouble(double x1,
double y1,
double x2,
double y2) |
LineSegmentDouble(Point2D p1,
Point2D p2) |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(UGraphic ug) |
Point2D |
getP1() |
Point2D |
getP2() |
double |
getX1() |
double |
getX2() |
double |
getY1() |
double |
getY2() |
String |
toString() |
determinant, doesIntersect, equals, getAngle, getBounds2D, getDistance, getDistance, getIntersectionHorizontal, getIntersectionVertical, getLength, getOppositeAngle, getPoint2D, getSegIntersection, hashCode, isHorizontal, isVertical, setLine, side, startTranslatedAsVectorclone, 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, setLinepublic LineSegmentDouble(double x1,
double y1,
double x2,
double y2)
public void draw(UGraphic ug)
Copyright © 2015. All Rights Reserved.