|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object math.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 | |
---|---|
Point2D |
getCenter()
|
double |
getRadius()
|
void |
setCircle(Circle2D circle)
|
void |
setCircle(double xc,
double yc,
double r)
|
Point2D |
transform(Point2D pt)
Transforms a point |
Point2D[] |
transform(Point2D[] src,
Point2D[] dst)
Transforms an array of points, and returns the transformed points. |
Shape2D |
transform(Shape2D shape)
Deprecated. use transformShape() instead (0.7.0) |
Point2D |
transformPoint(Point2D pt)
|
BoundaryPolyCurve2D<CircleArc2D> |
transformRing(LinearRing2D ring)
|
Shape2D |
transformShape(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 Point2D getCenter()
public double getRadius()
public void setCircle(double xc, double yc, double r)
public void setCircle(Circle2D circle)
public Shape2D transformShape(Shape2D shape)
Transformed shape can be computed for different cases:
@Deprecated public Shape2D transform(Shape2D shape)
public Point2D transformPoint(Point2D pt)
public BoundaryPolyCurve2D<CircleArc2D> transformRing(LinearRing2D ring)
public Point2D transform(Point2D pt)
Transform2D
transform
in interface Transform2D
public Point2D[] transform(Point2D[] src, Point2D[] dst)
transform
in interface Transform2D
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |