public class IlvArcUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static double |
ilv_delta_arc
A distance that defines a boundary around the arc.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
ComputeArcBBox(IlvRect bbox,
double angle,
double delta,
IlvRect rect)
Computes the bounding rectangle of an arc.
|
static boolean |
PointInArc(IlvPoint p,
IlvRect bbox,
double angle,
double delta)
Checks if a point is on an arc.
|
static boolean |
PointInFilledArc(IlvPoint p,
IlvRect bbox,
double angle,
double delta)
Checks if a point is inside a filled arc.
|
public static double ilv_delta_arc
public static boolean PointInArc(IlvPoint p, IlvRect bbox, double angle, double 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, double angle, double 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, double angle, double 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.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.