|
TPTP 4.5.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.tptp.platform.report.igc.alg.internal.CircleAlg
org.eclipse.tptp.platform.report.birt).
public class CircleAlg
Algorithm to generate circle point, tangent vector and fill circle and arc. TODO: why not removing CircleAlg and use only OvalAlg ??
| Field Summary | |
|---|---|
protected double |
arc_length_
Deprecated. |
protected double |
arc_start_
Deprecated. |
protected int |
curr_index_
Deprecated. |
protected int |
curr_octant_
Deprecated. |
protected int |
cx_
Deprecated. |
protected int |
cy_
Deprecated. |
protected int |
iend_
Deprecated. |
protected int |
istart_
Deprecated. |
protected org.eclipse.tptp.platform.report.igc.alg.internal.CircleAlg.Model |
model_
Deprecated. |
protected static ModelMap |
models_
Deprecated. |
protected int |
oend_
Deprecated. |
protected int |
ostart_
Deprecated. |
protected byte |
state_
Deprecated. |
protected Vector |
vector_
Deprecated. |
| Constructor Summary | |
|---|---|
CircleAlg()
Deprecated. Create empty cirle, must call setCircle or setCircle arc to define circle. |
|
CircleAlg(CircleAlg c)
Deprecated. |
|
CircleAlg(int cx,
int cy,
int radius)
Deprecated. |
|
CircleAlg(int cx,
int cy,
int radius,
double arc_start,
double arc_length)
Deprecated. |
|
| Method Summary | |
|---|---|
boolean |
contains(int x,
int y)
Deprecated. |
static boolean |
Contains(int x,
int y,
int cx,
int cy,
int radius)
Deprecated. |
static boolean |
Contains(int x,
int y,
int cx,
int cy,
int radius,
double arc_start,
double arc_length)
Deprecated. |
boolean |
contains(IPoint p)
Deprecated. |
void |
endPathElement(IGC gc)
Deprecated. |
void |
fill(IGCDirect gd)
Deprecated. |
static void |
FillArc(IGCDirect gd,
int cx,
int cy,
int radius,
double arc_start,
double arc_length)
Deprecated. |
void |
fillCircle(IGCDirect gc)
Deprecated. fill current circle as it was really a full circle, see FillCircle(). |
protected static void |
FillCircle(IGCDirect gc,
org.eclipse.tptp.platform.report.igc.alg.internal.CircleAlg.Model model,
int cx,
int cy)
Deprecated. internal use only. |
static void |
FillCircle(IGCDirect gc,
int cx,
int cy,
int radius)
Deprecated. Fill circle (even if this is an arc definition), brush must be started by caller, use only drawHLineDirect(). |
double |
getArcLength()
Deprecated. |
double |
getArcStart()
Deprecated. |
IRect |
getBounds()
Deprecated. |
int |
getCenterX()
Deprecated. |
int |
getCenterY()
Deprecated. |
void |
getCurrentTangent(IVector vector)
Deprecated. |
int |
getRadius()
Deprecated. |
float |
getTX()
Deprecated. |
float |
getTY()
Deprecated. |
int |
getX()
Deprecated. |
int |
getY()
Deprecated. |
boolean |
nextPoint(IPoint point)
Deprecated. |
void |
restart()
Deprecated. restart nextPoint generation |
void |
setArc(int cx,
int cy,
int radius,
double arc_start,
double arc_length)
Deprecated. |
void |
setCircle(CircleAlg c)
Deprecated. |
void |
setCircle(int cx,
int cy,
int radius)
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int cx_
protected int cy_
protected double arc_start_
protected double arc_length_
protected org.eclipse.tptp.platform.report.igc.alg.internal.CircleAlg.Model model_
protected int istart_
protected int iend_
protected int ostart_
protected int oend_
protected static ModelMap models_
protected int curr_index_
protected int curr_octant_
protected Vector vector_
protected byte state_
| Constructor Detail |
|---|
public CircleAlg()
public CircleAlg(int cx,
int cy,
int radius)
public CircleAlg(int cx,
int cy,
int radius,
double arc_start,
double arc_length)
public CircleAlg(CircleAlg c)
| Method Detail |
|---|
public void setCircle(int cx,
int cy,
int radius)
public void setArc(int cx,
int cy,
int radius,
double arc_start,
double arc_length)
public void setCircle(CircleAlg c)
public int getCenterX()
public int getCenterY()
public int getRadius()
public double getArcStart()
public double getArcLength()
public void restart()
public void endPathElement(IGC gc)
public int getX()
public int getY()
public float getTX()
public float getTY()
public boolean nextPoint(IPoint point)
public void getCurrentTangent(IVector vector)
public static boolean Contains(int x,
int y,
int cx,
int cy,
int radius)
public static boolean Contains(int x,
int y,
int cx,
int cy,
int radius,
double arc_start,
double arc_length)
public boolean contains(int x,
int y)
public boolean contains(IPoint p)
public IRect getBounds()
public void fillCircle(IGCDirect gc)
public void fill(IGCDirect gd)
public static void FillCircle(IGCDirect gc,
int cx,
int cy,
int radius)
protected static void FillCircle(IGCDirect gc,
org.eclipse.tptp.platform.report.igc.alg.internal.CircleAlg.Model model,
int cx,
int cy)
public static void FillArc(IGCDirect gd,
int cx,
int cy,
int radius,
double arc_start,
double arc_length)
|
TPTP 4.5.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||