Class BoundaryCircle
java.lang.Object
|
+----BoundaryCircle
- public class BoundaryCircle
- extends Object
A class which creates and manipulates the isometric or equidistant
circles which make the up the fundamental domain on the boundary of
hyperbolic space.
-
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.
-
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.
MAXDISPLAY_X
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.
MINDISPLAY_Y
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.
MAXDISPLAY_Y
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.
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
BoundaryCircle
public BoundaryCircle(int ndx)
- Constructor for BoundaryCircles of parabolic traces.
- Parameters:
- ndx - the index of this BoundaryCircle
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
distance
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
copyCircle
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
makeNeg
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
toString
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