|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmath.geom2d.transform.CircleInversion2D
public class CircleInversion2D
circle inversion : performs a bijection between points outside the circle and points inside the circle.
| Field Summary | |
|---|---|
protected Circle2D |
circle
|
| Constructor Summary | |
|---|---|
CircleInversion2D()
Construct a new circle inversion based on the unit circle centered on the origin. |
|
CircleInversion2D(Circle2D circle)
|
|
| Method Summary | |
|---|---|
void |
setCircle(Circle2D circle)
|
void |
setCircle(double xc,
double yc,
double r)
|
Point2D |
transform(java.awt.geom.Point2D pt)
Transforms a point |
Point2D[] |
transform(java.awt.geom.Point2D[] src,
Point2D[] dst)
Transforms an array of points, and returns the transformed points. |
Point2D |
transform(java.awt.geom.Point2D pt,
Point2D dst)
Transforms a point, share memory |
Shape2D |
transform(Shape2D shape)
Transforms a general shape, and return the transformed shape. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Circle2D circle
| Constructor Detail |
|---|
public CircleInversion2D()
public CircleInversion2D(Circle2D circle)
| Method Detail |
|---|
public void setCircle(double xc,
double yc,
double r)
public void setCircle(Circle2D circle)
public Shape2D transform(Shape2D shape)
Transformed shape can be computed for different cases:
public Point2D transform(java.awt.geom.Point2D pt)
Transform2D
transform in interface Transform2D
public Point2D transform(java.awt.geom.Point2D pt,
Point2D dst)
Transform2D
transform in interface Transform2D
public Point2D[] transform(java.awt.geom.Point2D[] src,
Point2D[] dst)
transform in interface Transform2D
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||