|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IEdge
The edge of a bezier object implements this interface
| Method Summary | |
|---|---|
void |
draw(IDrawing drw,
double width,
IViewable v1,
IViewable v2,
int rgb)
Draw the edge, with given width and colour index RGB. |
boolean |
inside(IPolygon polygon)
Is any point on the edge inside the given polygon |
boolean |
isDashed()
Is this edge dashed at any point along its length ? |
double |
length()
The length of the edge, calculated as the sum of the length of N-1 straight line segments |
int |
n()
The number of points, N, defining the edge. |
IXyz |
pt(int i)
Returns edge point i, where i is [0..N-1]. |
IXyz |
xyz(double distanceFromStart)
The point at the given distance along the edge, measured from the start |
IXyz |
xyzE()
The point at the End of the edge |
IXyz |
xyzS()
The point at the Start of the edge |
| Methods inherited from interface com.azalient.api.draw.IRecalcListener |
|---|
onRecalc |
| Method Detail |
|---|
IXyz xyzS()
IXyz xyzE()
IXyz xyz(double distanceFromStart)
IXyz pt(int i)
int n()
double length()
void draw(IDrawing drw,
double width,
IViewable v1,
IViewable v2,
int rgb)
boolean inside(IPolygon polygon)
boolean isDashed()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||