|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.graphic.IlvArcUtil
public class IlvArcUtil
A class that groups the utility methods for Arcs.
| Field Summary | |
|---|---|
static float |
ilv_delta_arc
A distance that defines a boundary around the arc. |
| Method Summary | |
|---|---|
static void |
ComputeArcBBox(IlvRect bbox,
float angle,
float delta,
IlvRect rect)
Computes the bounding rectangle of an arc. |
static boolean |
PointInArc(IlvPoint p,
IlvRect bbox,
float angle,
float delta)
Checks if a point is on an arc. |
static boolean |
PointInFilledArc(IlvPoint p,
IlvRect bbox,
float angle,
float delta)
Checks if a point is inside a filled arc. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static float ilv_delta_arc
| Method Detail |
|---|
public static boolean PointInArc(IlvPoint p,
IlvRect bbox,
float angle,
float delta)
p - the point to be checked.bbox - the bounding box of the arc.angle - the start angle in degrees.delta - the arc angle range in degrees.
public static boolean PointInFilledArc(IlvPoint p,
IlvRect bbox,
float angle,
float delta)
p - the point to be checked.bbox - the bounding box of the arc.angle - the start angle in degrees.delta - the arc angle range in degrees.
public static void ComputeArcBBox(IlvRect bbox,
float angle,
float delta,
IlvRect rect)
bbox - the definition rect of the arc.angle - the start angle of the arc in degrees.delta - the angle range of the arc in degrees.rect - a rectangle to store the result.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||