edu.wpi.first.wpilibj.image
Class EllipseDescriptor
java.lang.Object
com.sun.cldc.jna.Structure
edu.wpi.first.wpilibj.image.EllipseDescriptor
public class EllipseDescriptor
- extends Structure
- Author:
- dtjones
Constructor Summary |
EllipseDescriptor(double m_minMajorRadius,
double m_maxMajorRadius,
double m_minMinorRadius,
double m_maxMinorRadius)
|
Method Summary |
void |
free()
Free the c memory associated with this object. |
void |
read()
Copy the fields of the struct from native memory to the Java fields |
int |
size()
|
void |
write()
Copy the java fields of the struct to native memory from the Java fields |
EllipseDescriptor
public EllipseDescriptor(double m_minMajorRadius,
double m_maxMajorRadius,
double m_minMinorRadius,
double m_maxMinorRadius)
free
public void free()
- Free the c memory associated with this object.
read
public void read()
- Description copied from class:
Structure
- Copy the fields of the struct from native memory to the Java fields
- Specified by:
read
in class Structure
write
public void write()
- Description copied from class:
Structure
- Copy the java fields of the struct to native memory from the Java fields
- Specified by:
write
in class Structure
size
public int size()
- Specified by:
size
in class Structure
- Returns:
- the size of the native structure
"For updated information see the Java FRC site"