Class BoundaryCircle
java.lang.Object | +----BoundaryCircle
- public class BoundaryCircle
- extends Object
- Author:
- Jonathan A. Poritz
- cen
- The complex location of the center of the isometric or equidistant circle.
- index
- The index of the isometric or equidistant circle.
- MAXDISPLAY_X
- The maximum x-coord, in pixels, of a BoundaryCircle we will display.
- MAXDISPLAY_Y
- The maximum y-coord, in pixels, of a BoundaryCircle we will display.
- MINDISPLAY_X
- The minimum x-coord, in pixels, of a BoundaryCircle we will display.
- MINDISPLAY_Y
- The minimum y-coord, in pixels, of a BoundaryCircle we will display.
- rad
- The radius of the isometric or equidistant circle.
- BoundaryCircle()
- Constructor of a trivial BoundaryCircle.
- BoundaryCircle(Complex, double, int, int)
- Constructor for BoundaryCircles of elliptic or loxodromic traces.
- BoundaryCircle(int)
- Constructor for BoundaryCircles of parabolic traces.
- copyCircle()
- Copies this BoundaryCircle, by making a trivial BoundaryCircle and then copying into it this's center, radius and index.
- distance(BoundaryCircle, BoundaryCircle)
- Compute the distance between the centers of two BoundaryCircles.
- makeNeg(BoundaryCircle)
- Makes a negative BoundaryCircle corresponding to the input of a positive one.
- paint(Graphics, BoundaryPanel, Choice)
- Paint this BoundaryCircle if it is not too huge, paying attention to the currently selected display type.
- toString()
- Make a string out of this's index.
MINDISPLAY_X
public static final int MINDISPLAY_X
- The minimum x-coord, in pixels, of a BoundaryCircle we will display.
Probably should be a related to X in BoundaryCircle.
public static final int MAXDISPLAY_X
- The maximum x-coord, in pixels, of a BoundaryCircle we will display.
Probably should be a related to X in BoundaryCircle.
public static final int MINDISPLAY_Y
- The minimum y-coord, in pixels, of a BoundaryCircle we will display.
Probably should be a related to X in BoundaryCircle.
public static final int MAXDISPLAY_Y
- The maximum y-coord, in pixels, of a BoundaryCircle we will display.
Probably should be a related to X in BoundaryCircle.
Complex cen
- The complex location of the center of the isometric or
equidistant circle.
double rad
- The radius of the isometric or equidistant circle.
int index
- The index of the isometric or equidistant circle.
BoundaryCircle
public BoundaryCircle(Complex z11, double dist, int ndx, int domaintype)
- Constructor for BoundaryCircles of elliptic or loxodromic traces.
- Parameters:
- z11 - the (1,1) entry of the current trace's generator matrix
- dist - the current axis distance
- ndx - the index of this BoundaryCircle
- domaintype - the selected index of outputpanel's Choice fordordirichlet
- dist - the current axis distance
public BoundaryCircle(int ndx)
- Constructor for BoundaryCircles of parabolic traces.
- Parameters:
- ndx - the index of this BoundaryCircle
public BoundaryCircle()
- Constructor of a trivial BoundaryCircle.
paint
public void paint(Graphics g, BoundaryPanel boundarypanel, Choice diskorcircle)
- Paint this BoundaryCircle if it is not too huge, paying attention to the
currently selected display type.
- Parameters:
- g - the graphics object upon which to paint
- boundarypanel - the ambient BoundaryPanel
- diskorcircle - a reference to outputpanel's choice on the selected display type
- boundarypanel - the ambient BoundaryPanel
public static double distance(BoundaryCircle a, BoundaryCircle b)
- Compute the distance between the centers of two BoundaryCircles.
- Parameters:
- a - one BoundaryCircle
- b - and another
- Returns:
- the distance between their centers
public BoundaryCircle copyCircle()
- Copies this BoundaryCircle, by making a trivial BoundaryCircle and
then copying into it this's center, radius and index.
- Returns:
- the new copy of this BounaryCircle
public static BoundaryCircle makeNeg(BoundaryCircle pos)
- Makes a negative BoundaryCircle corresponding to the input of a
positive one.
- Parameters:
- pos - the positive BoundaryCircle to be copied and negated
- Returns:
- s the new negative BoundaryCircle
public String toString()
- Make a string out of this's index. Only called implicitly when making
a label for fundamental domain of impossible combinatorial type, by
Vector.toString on DomainCombinatorics's Vector
boundary.
- Returns:
- the string form of this's index
- Overrides:
- toString in class Object