projects
/
anneal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
checkpoint
[anneal.git]
/
src
/
edu
/
berkeley
/
qfat
/
geom
/
Segment.java
diff --git
a/src/edu/berkeley/qfat/geom/Segment.java
b/src/edu/berkeley/qfat/geom/Segment.java
index
7e6ebd6
..
5f46051
100644
(file)
--- a/
src/edu/berkeley/qfat/geom/Segment.java
+++ b/
src/edu/berkeley/qfat/geom/Segment.java
@@
-25,6
+25,8
@@
public class Segment implements HasBoundingBox {
public float getMaxZ() { return Math.max(p1.z, p2.z); }
public float getMinZ() { return Math.min(p1.z, p2.z); }
public float getMaxZ() { return Math.max(p1.z, p2.z); }
public float getMinZ() { return Math.min(p1.z, p2.z); }
- public Segment glProject(GL gl) { return new Segment(p1.glProject(gl), p2.glProject(gl)); }
+ public double distance(Point p) {
+ throw new RuntimeException("not yet implemented");
+ }
}
}