org.xistrat.bean
Class EdgeData
java.lang.Object
org.xistrat.bean.EdgeData
public class EdgeData
- extends java.lang.Object
bulk data object to represent an ordered (directed) edge
, possibly together with some mark (for inflation/deflation purposes)
- Since:
- 0.5.68
Method Summary |
boolean |
isSame(EdgeData edge)
if argument represents same edge
(unfortunately we don't have operator overloading yet in JAVA) |
boolean |
isSame(EdgeData edge,
int faces)
if argument represents same edge while point[0] modulo second argument
(unfortunately we don't have operator overloading yet in JAVA) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
points
public int[] points
mark
public int mark
EdgeData
public EdgeData()
EdgeData
public EdgeData(int a,
int b)
EdgeData
public EdgeData(int a,
int b,
int mark)
isSame
public boolean isSame(EdgeData edge)
- if argument represents same edge
(unfortunately we don't have operator overloading yet in JAVA)
isSame
public boolean isSame(EdgeData edge,
int faces)
- if argument represents same edge while point[0] modulo second argument
(unfortunately we don't have operator overloading yet in JAVA)