|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.jhu.ece.iacl.jist.structures.geom.TriangleSigned
public class TriangleSigned
Created by IntelliJ IDEA. User: bennett Date: Nov 20, 2005 Time: 9:28:30 AM To change this template use Options | File Templates. ************************************ Magnetic Resonance in Medicine Final Project Released: December 1, 2005 class Triangle Represent a triangle Copyright (C) 2005 Bennett Landman, bennett@bme.jhu.edu
Field Summary | |
---|---|
static float |
EPS
The EPS. |
PT[] |
pts
The pts. |
Constructor Summary | |
---|---|
TriangleSigned(PT a,
PT b,
PT c)
Instantiates a new triangle signed. |
Method Summary | |
---|---|
boolean |
contains(PT p)
Contains. |
IntersectResult |
findIntersect(PT a,
PT b)
Find intersect. |
boolean |
intersect(PT a,
PT b)
Intersect. |
int |
volumeSign(PT a,
PT b,
PT c,
PT d)
Volume sign. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static float EPS
public PT[] pts
Constructor Detail |
---|
public TriangleSigned(PT a, PT b, PT c)
a
- the ab
- the bc
- the cMethod Detail |
---|
public boolean intersect(PT a, PT b) throws DegenerateIntersectionException
a
- the ab
- the b
DegenerateIntersectionException
- the degenerate intersection exceptionpublic IntersectResult findIntersect(PT a, PT b) throws DegenerateIntersectionException
a
- the ab
- the b
DegenerateIntersectionException
- the degenerate intersection exceptionpublic int volumeSign(PT a, PT b, PT c, PT d)
a
- the ab
- the bc
- the cd
- the d
public boolean contains(PT p)
p
- the p
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |