public class IEdge
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.util.ArrayList<IFace> |
faces |
IVertex[] |
vertices |
Constructor and Description |
---|
IEdge(IEdge e) |
IEdge(IVertex v1,
IVertex v2) |
Modifier and Type | Method and Description |
---|---|
void |
addFace(IFace f) |
IVec |
center()
alias of mid
|
boolean |
contains(IVertex v) |
boolean |
contains(IVertex v1,
IVertex v2) |
IFace[] |
createFace(IMeshType creator) |
void |
del() |
IEdge |
dup() |
boolean |
eq(IEdge e) |
boolean |
eq(IEdge e,
double tolerance) |
IFace |
face(int i) |
int |
faceNum() |
IFace |
getFace(int i) |
IFace |
getOtherFace(IFace f) |
IFace[] |
getOtherFaces(IFace f) |
IVertex |
getOtherVertex(IEdge edge) |
IVertex |
getOtherVertex(IVertex v) |
IEdge |
getOverlappingEdge()
edge sharing exact same pair of vertices
|
IEdge[] |
getOverlappingEdges()
edge sharing exact same pair of vertices
|
IVec |
getPointOnEdge(double ratio) |
IVertex |
getSharedVertex(IEdge edge) |
IVertex |
getVertex(int i) |
boolean |
hasSharedVertex(IEdge edge) |
boolean |
isConnected(IEdge edge) |
boolean |
isOnEdge(IVertex v) |
IVec |
mid() |
IVec |
nml() |
IVec |
nml(double param) |
IVec |
normal() |
IVec |
normal(double param) |
IVec |
pos(double ratio) |
void |
replaceVertex(IVertex oldVertex,
IVertex newVertex) |
IFace |
sharedFace(IEdge edge) |
IVertex[] |
subdivide(int divnum,
java.util.ArrayList<IVertex> newVertexArray,
java.util.ArrayList<IEdge> newEdgeArray) |
java.lang.String |
toString() |
void |
traceEdge(java.util.ArrayList<IEdge> trace,
java.util.ArrayList<java.util.ArrayList<IEdge>> loops,
int depth) |
java.util.ArrayList<java.util.ArrayList<IEdge>> |
traceEdge(int maxVertexNum) |
IVertex |
vertex(int i) |
int |
vertexNum() |
public IVertex getVertex(int i)
public IVertex vertex(int i)
public int vertexNum()
public void addFace(IFace f)
public IFace getFace(int i)
public IFace face(int i)
public int faceNum()
public IEdge dup()
public void del()
public IVec nml(double param)
public IVec normal(double param)
public IVec nml()
public IVec normal()
public IVec getPointOnEdge(double ratio)
public IVec pos(double ratio)
public IVec mid()
public IVec center()
public boolean contains(IVertex v)
public IEdge getOverlappingEdge()
public IEdge[] getOverlappingEdges()
public boolean hasSharedVertex(IEdge edge)
public boolean isConnected(IEdge edge)
public boolean isOnEdge(IVertex v)
public java.util.ArrayList<java.util.ArrayList<IEdge>> traceEdge(int maxVertexNum)
public void traceEdge(java.util.ArrayList<IEdge> trace, java.util.ArrayList<java.util.ArrayList<IEdge>> loops, int depth)
public java.lang.String toString()
toString
in class java.lang.Object
public boolean eq(IEdge e)
public boolean eq(IEdge e, double tolerance)