|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.jhu.ece.iacl.jist.structures.geom.Segment
public class Segment
The Class Segment.
| Field Summary | |
|---|---|
Vertex |
v1
The v2. |
Vertex |
v2
The v2. |
| Constructor Summary | |
|---|---|
protected |
Segment(Vertex v1,
Vertex v2)
Instantiates a new segment. |
| Method Summary | |
|---|---|
boolean |
contains(Vertex v)
Contains. |
boolean |
contains(Vertex V1,
Vertex V2)
Contains. |
void |
flip()
Flip. |
Vertex |
getOpposite(Vertex v)
Gets the opposite. |
Vector3 |
getVector()
Gets the vector. |
Vertex[] |
toArray()
To array. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public Vertex v1
public Vertex v2
| Constructor Detail |
|---|
protected Segment(Vertex v1,
Vertex v2)
v1 - the v1v2 - the v2| Method Detail |
|---|
public Vertex[] toArray()
public Vertex getOpposite(Vertex v)
v - the v
public boolean contains(Vertex v)
v - the v
public boolean contains(Vertex V1,
Vertex V2)
V1 - the v1V2 - the v2
public void flip()
public Vector3 getVector()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||