public class LineSegmentDouble extends AbstractLineSegment
Line2D.Double, Line2D.Float
Constructor and Description |
---|
LineSegmentDouble(CubicCurve2D.Double curve) |
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() |
LineSegmentDouble |
translate(UTranslate translate) |
determinant, doesIntersect, equals, getAngle, getBounds2D, getDistance, getDistance, getIntersectionHorizontal, getIntersectionVertical, getLength, getOppositeAngle, getPoint2D, getSegIntersection, hashCode, isHorizontal, isPointOnSegment, isVertical, setLine, side, startTranslatedAsVector
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
public LineSegmentDouble(double x1, double y1, double x2, double y2)
public LineSegmentDouble(CubicCurve2D.Double curve)
public LineSegmentDouble translate(UTranslate translate)
public void draw(UGraphic ug)
Copyright © 2017. All Rights Reserved.