|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoptics.Optics
optics.OpticalSurface
optics.OpticalPlane
optics.QuadricSurface
optics.QuadricMirror
public class QuadricMirror
Class to implements Quadric Mirror with reference point
Field Summary | |
---|---|
protected double |
centralAperture
Protected double for central open aperture |
Fields inherited from class optics.QuadricSurface |
---|
curvature, epsilon |
Fields inherited from class optics.OpticalPlane |
---|
blockedNormal, maxRadius, planeNormal |
Fields inherited from class optics.OpticalSurface |
---|
CLEAR, group, REFLECTING, REFRACTING, refractiveIndex, surfacePoint, surfaceType |
Fields inherited from class optics.Optics |
---|
DEFAULT_WAVELENGTH, errorStream, fmt, MICRONS |
Constructor Summary | |
---|---|
QuadricMirror(double z,
double c,
double e,
double rmax)
Constructor with three paramters |
|
QuadricMirror(Position p,
double c,
double e,
double rmax)
Consructor for Quadric Mirror spefifying three-dimensional reference point, curvature and max radius. |
|
QuadricMirror(QuadricSurface m)
Constrcutor for QuadricMirror with parameters from specified QuadricMirror |
Method Summary | |
---|---|
QuadricMirror |
clone()
Method to clone the QuadricMirror |
void |
draw(java.awt.Graphics2D g)
Method to draw the surface is a Graphics2D context. |
double |
getCentralAperture()
Method to get the central aperture radius |
void |
setCentralAperture(double r)
Method to set the central aperture |
java.lang.String |
toString()
To string method |
Methods inherited from class optics.QuadricSurface |
---|
distance, getCurvature, getEdgePlane, getNormal, getQuadric, scale, setCurvature, setQuadric |
Methods inherited from class optics.OpticalPlane |
---|
getBounds, getMaxRadius, getPlaneNormal, pointInPlane, setMaxRadius, setPlaneNormal |
Methods inherited from class optics.OpticalSurface |
---|
distance, edit, entranceAperture, exitAperture, fromString, fromTokens, getGroup, getIndex, getNormal, getPoint, getRefractiveIndex, getSurfacePoint, getSurfaceType, getSurfaceType, makeStandAlone, pointInPlane, setGroup, setRefractiveIndex, setSurfacePoint, setSurfaceType |
Methods inherited from class optics.Optics |
---|
getDefaultWaveLength, getErrorStream, getFormatString, getName, getStaticName, getVersion, printError, setDefaultWaveLength, setErrorStream, setFormatString, setMicrons |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected double centralAperture
Constructor Detail |
---|
public QuadricMirror(double z, double c, double e, double rmax)
z
- z location of spherical surfacec
- the curcaturee
- the quadric parameterrmax
- the max radiuspublic QuadricMirror(Position p, double c, double e, double rmax)
p
- The reference pointc
- curvaturee
- the quadric parameterrmax
- the max radiuspublic QuadricMirror(QuadricSurface m)
m
- the specifying surfaceMethod Detail |
---|
public QuadricMirror clone()
clone
in class QuadricSurface
SphericalMirror
clone of current.public void setCentralAperture(double r)
r
- radius of central holepublic double getCentralAperture()
double
radius of central aperturepublic java.lang.String toString()
toString
in class QuadricSurface
public void draw(java.awt.Graphics2D g)
draw
in interface Diagram2DComponent
draw
in class QuadricSurface
g
- the Graphics2D
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |