public interface GeometricConstructions_2
Modifier and Type | Method and Description |
---|---|
Point_2 |
circumCenter(Point_2 p0,
Point_2 p1,
Point_2 p2)
Returns the (approximate) circumcenter of input triangle
|
java.lang.Number |
distanceToSegment(Point_2 ps,
Point_2 pe,
Point_2 p)
Returns the distance (non exact computation) of a point to a segment
|
Point_2 |
intersect(Segment_2 s,
Ray_2 r)
Returns approximate intersection between segment s and ray r
|
Point_2 |
intersect(Segment_2 s,
Segment_2 t)
Returns approximate intersection between segments
|
Point_2 circumCenter(Point_2 p0, Point_2 p1, Point_2 p2)
p0,p1,p2
- the three vertices of the trianglejava.lang.Number distanceToSegment(Point_2 ps, Point_2 pe, Point_2 p)
ps,pe
- the start/end of the segmentp
- the query pointPoint_2 intersect(Segment_2 s, Segment_2 t)
s,t
- the 2 segments