|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdevisor2.foundation.GridItem
devisor2.foundation.boundary.Segment
devisor2.foundation.boundary.SegmentFile
| Field Summary | |
int |
BoundaryNumber
boundary number |
int |
drawstep
resolution of the drawing |
java.lang.String |
name
name of the parametrisation file |
java.lang.String |
path
|
| Fields inherited from class devisor2.foundation.boundary.Segment |
boundary, orientation_marker_1, orientation_marker_2, orientation_marker_3, tmax |
| Fields inherited from class devisor2.foundation.GridItem |
cc, marked, transformed, xmax, xmin, ymax, ymin |
| Constructor Summary | |
SegmentFile(java.lang.String n,
java.lang.String n2,
int bn)
creates the segment type file with draw step size 256 |
|
SegmentFile(java.lang.String n,
java.lang.String n2,
int bn,
int ds)
creates the segment type file |
|
| Method Summary | |
void |
adjustPerimeter(Node n,
int index)
change coordinates therefor, that at indes 0 that the beginning of this segment is at node 'n', else that the ending of this segment is at node 'n'. |
static void |
compile(java.lang.String n,
java.lang.String n2)
|
void |
draw(java.awt.Graphics g)
draws the segment |
Node |
getCoords(double t)
|
double |
getParameterCoord(Node n)
|
abstract java.awt.Rectangle |
getPerimeter()
gets the perimeter of the segment |
int[] |
getPolyCoords(java.awt.geom.AffineTransform tf)
|
double[] |
isOnBoundary(Node n,
double eps)
|
void |
performTransformation(java.awt.geom.AffineTransform tf,
boolean preserve)
|
void |
setParams(int[] ux)
sets the parameters of the segment |
void |
swapPerimeter()
inverts orientation of this segment without changing parameter values of related boundarynodes. |
| Methods inherited from class devisor2.foundation.boundary.Segment |
clone, drawOrientationMarker, getBoundary, getBoundaryNumber, getCartesianCoords, getParameters, getParameterValue, getParams, getSegmentNumber, getTMax, isHit, isInside, isOnBoundary, performMirror, performTransformation, setBoundary, setParameters, setTMax, updateInnerData |
| Methods inherited from class devisor2.foundation.GridItem |
clearTransformedFlag, isMarked, setMarker, setMarker, unsetMarker |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public java.lang.String name
public java.lang.String path
public int BoundaryNumber
public int drawstep
| Constructor Detail |
public SegmentFile(java.lang.String n,
java.lang.String n2,
int bn,
int ds)
public SegmentFile(java.lang.String n,
java.lang.String n2,
int bn)
| Method Detail |
public static void compile(java.lang.String n,
java.lang.String n2)
public void performTransformation(java.awt.geom.AffineTransform tf,
boolean preserve)
public double[] isOnBoundary(Node n,
double eps)
Segment.isOnBoundarypublic int[] getPolyCoords(java.awt.geom.AffineTransform tf)
Segment.getPolyCoordspublic abstract java.awt.Rectangle getPerimeter()
Segment
getPerimeter in class Segmentpublic Node getCoords(double t)
Segment.getCoordspublic void draw(java.awt.Graphics g)
draw in class Segmentg - - the graphics context to paint topublic double getParameterCoord(Node n)
public void swapPerimeter()
Segment
swapPerimeter in class Segment
public void adjustPerimeter(Node n,
int index)
Segment
adjustPerimeter in class Segmentpublic void setParams(int[] ux)
Segment
setParams in class Segment
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||