public class Vertex3dList extends java.lang.Object implements java.lang.Iterable<Vertex3dNode>, Clonable
Constructor and Description |
---|
Vertex3dList(boolean closed) |
Vertex3dList(boolean closed,
java.util.Collection<Vector3d> pnts) |
Vertex3dList(boolean closed,
double[] vals) |
Modifier and Type | Method and Description |
---|---|
Vertex3dNode |
add(Vertex3d vtx) |
void |
add(Vertex3dNode node) |
void |
addAfter(Vertex3dNode node,
Vertex3dNode prev) |
void |
addBefore(Vertex3dNode node,
Vertex3dNode next) |
Vertex3dNode |
addNonCoincident(Vertex3d vtx,
double dtol) |
void |
addNonCoincident(Vertex3dNode node,
double dtol) |
void |
clear() |
Vertex3dList |
clone() |
boolean |
equals(Vertex3dList list) |
Vertex3d |
get(int idx) |
Vertex3dNode |
getNode(int idx) |
boolean |
isClosed() |
boolean |
isEmpty() |
java.util.Iterator<Vertex3dNode> |
iterator() |
void |
remove(Vertex3dNode node) |
Vertex3dNode |
removeFirst() |
void |
reverse() |
int |
set(java.util.Collection<Vector3d> pnts) |
int |
set(double[] vals) |
int |
set(double[] vals,
int idx) |
void |
setClosed(boolean closed) |
int |
size() |
public Vertex3dList(boolean closed)
public Vertex3dList(boolean closed, double[] vals)
public Vertex3dList(boolean closed, java.util.Collection<Vector3d> pnts)
public int set(double[] vals)
public int set(java.util.Collection<Vector3d> pnts)
public int set(double[] vals, int idx)
public int size()
public boolean isClosed()
public java.util.Iterator<Vertex3dNode> iterator()
iterator
in interface java.lang.Iterable<Vertex3dNode>
public Vertex3dNode getNode(int idx)
public Vertex3d get(int idx)
public Vertex3dNode addNonCoincident(Vertex3d vtx, double dtol)
public Vertex3dNode add(Vertex3d vtx)
public void addNonCoincident(Vertex3dNode node, double dtol)
public void add(Vertex3dNode node)
public void addAfter(Vertex3dNode node, Vertex3dNode prev)
public void addBefore(Vertex3dNode node, Vertex3dNode next)
public void remove(Vertex3dNode node)
public Vertex3dNode removeFirst()
public boolean isEmpty()
public void reverse()
public void clear()
public void setClosed(boolean closed)
public Vertex3dList clone()
public boolean equals(Vertex3dList list)