John W. Campbell
This is a simple class to store the position and radius of a circle.
It is used in this package to return a calculated set of circle
parameters. The values are accessed as the public fields 'xcen', 'ycen'
and 'rad'.
Constructor and Fields:
Class Details
Accessible Fields
Constructors
- Package:
- Jdl.JdlLib;
- Class name:
- JdlCircle
- Class definition:
- public class JdlCircle
- Extends:
- Object
- Implements:
- none
- Actions:
- none
The following accessible fields have been defined:
- public double xcen
- The 'x' position of the circle centre - 'xcen'.
- public double ycen
- The 'y' position of the circle centre - 'ycen'.
- public double rad
- The circle radius - 'rad'.
Two constructors are available, to construct a JdlCircle object from a
set of double values or from a set of float values.
Constructors:
Constructor 1
Constructor 2
Create a JdlCircle object from double values.
- Constructor Definition:
- JdlCircle(double xcen, double ycen, double rad)
- Parameters List:
- xcen
- The 'x' centre position.
- ycen
- The 'y' centre position.
- rad
- The circle radius.
Create a JdlCircle object from float values.
- Constructor Definition:
- JdlCircle(float xcen, float ycen, float rad)
- Parameters List:
- xcen
- The 'x' centre position.
- ycen
- The 'y' centre position.
- rad
- The circle radius.
⇑ Up 2
⇑ Up 1
⇑ Top of this