public class Edge extends Object
| Constructor and Description |
|---|
Edge(Line2D l) |
Edge(Point p1,
Point p2) |
| Modifier and Type | Method and Description |
|---|---|
Point |
computeIntersection(Edge e) |
Point |
computeIntersection(Point s,
Point p) |
double |
distanceTo(Point p) |
Point |
generatePointOnEdge(double t) |
Line2D.Double |
getLine() |
Point |
getP1() |
Point |
getP2() |
static boolean |
isPointInsideEdge(Edge e,
Point ref,
Point p) |
public Point getP1()
public Point getP2()
public Point generatePointOnEdge(double t)
public double distanceTo(Point p)
public Line2D.Double getLine()
Copyright © 2019 OpenSource BIM. All rights reserved.