|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfdubath.entrelacs.Rope
public class Rope
A 'Rope' is a path on the Backgroung Geometry, it is defined as an ordered list of Vertex.
Vertex
,
BackgroundGeometry
Method Summary | |
---|---|
Vertex |
getFirstDot()
Retrive the first vertex of the Rope |
double |
getIntersectionGap()
Getter for the Rope gap in unit of the Background Geometry fundamental length. |
Vertex |
getLastDot()
Retrive the last vertex of the Rope |
int[] |
getLineRGBColor()
Getter for the color of the Ropes border. |
double |
getLineWidth()
Getter for the Rope width in unit of the Background Geometry fundamental length. |
java.util.List |
getReadonlyVertices()
Exposes the list of vertices defining the Rope. |
int[] |
getRopeRGBCcolor()
Getter for the color of the Rope. |
void |
setIntersectionGap(double newGap)
Setter for the Rope gap in unit of the Background Geometry fundamental length. |
void |
setLineRGBColor(int[] newRGBColor)
Setter for the color of the Ropes border. |
void |
setLineWidth(double newLineWidth)
Setter for the Rope width in unit of the Background Geometry fundamental length. |
void |
setRopeRGBColor(int[] newRGBColor)
Setter for the color of the Rope. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.util.List getReadonlyVertices()
BackgroundGeometry
,
Vertex
public Vertex getFirstDot()
Vertex
public Vertex getLastDot()
Vertex
public void setRopeRGBColor(int[] newRGBColor)
newRGBColor
- the color define by 3 integer [Red, Gree, Blue] each one ranging in 0-255.public int[] getRopeRGBCcolor()
public void setLineRGBColor(int[] newRGBColor)
newRGBColor
- the color define by 3 integer [Red, Gree, Blue] each one ranging in 0-255.public int[] getLineRGBColor()
public void setLineWidth(double newLineWidth)
newLineWidth
- public double getLineWidth()
public void setIntersectionGap(double newGap)
newGap
- public double getIntersectionGap()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |