math.geom2d.transform
Class PointSymmetry2D

java.lang.Object
  extended by math.geom2d.transform.AbstractAffineTransform2D
      extended by math.geom2d.transform.Homothecy2D
          extended by math.geom2d.transform.PointSymmetry2D
All Implemented Interfaces:
AffineTransform2D, Bijection2D, Similarity2D, Transform2D

public class PointSymmetry2D
extends Homothecy2D

Transform each point with its symmetric with respect to a point. This actually an Homothecy with factor -1.


Nested Class Summary
 
Nested classes/interfaces inherited from class math.geom2d.transform.AbstractAffineTransform2D
AbstractAffineTransform2D.Identity2D
 
Field Summary
 
Fields inherited from class math.geom2d.transform.Homothecy2D
k, x0, y0
 
Constructor Summary
PointSymmetry2D(double xp, double yp)
           
PointSymmetry2D(Point2D point)
           
 
Method Summary
 
Methods inherited from class math.geom2d.transform.Homothecy2D
getAffineMatrix, getCoefficients, getInverseTransform, getLinearPart, getScalingFactor, getTranslationPart, isMotion
 
Methods inherited from class math.geom2d.transform.AbstractAffineTransform2D
compose, createRotation, createRotation, createRotation, createScaling, createScaling, createTranslation, createTranslation, equals, isDirect, isDirect, isIdentity, isIdentity, isIsometry, isIsometry, isMotion, isSimilarity, isSimilarity, transform, transform, transform
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface math.geom2d.transform.AffineTransform2D
compose, isDirect, isIdentity, isIsometry, isSimilarity
 
Methods inherited from interface math.geom2d.transform.Transform2D
transform, transform, transform
 

Constructor Detail

PointSymmetry2D

public PointSymmetry2D(Point2D point)

PointSymmetry2D

public PointSymmetry2D(double xp,
                       double yp)