summaryrefslogtreecommitdiff
path: root/CSMath/src/bezier/geom/transform/TDHPointRotation.java
diff options
context:
space:
mode:
Diffstat (limited to 'CSMath/src/bezier/geom/transform/TDHPointRotation.java')
-rw-r--r--CSMath/src/bezier/geom/transform/TDHPointRotation.java17
1 files changed, 17 insertions, 0 deletions
diff --git a/CSMath/src/bezier/geom/transform/TDHPointRotation.java b/CSMath/src/bezier/geom/transform/TDHPointRotation.java
index a207612..c92b172 100644
--- a/CSMath/src/bezier/geom/transform/TDHPointRotation.java
+++ b/CSMath/src/bezier/geom/transform/TDHPointRotation.java
@@ -2,10 +2,27 @@ package bezier.geom.transform;
import bezier.geom.TDHPoint;
+/**
+ * Transformation doing rotation about a point.
+ * @author bjculkin
+ *
+ */
public class TDHPointRotation extends TDHRotation {
+ /**
+ * x-coordinate of point.
+ */
public final double x0;
+ /**
+ * y-coordinate of point.
+ */
public final double y0;
+ /**
+ * Create a new point rotation.
+ * @param theta The degrees to rotate about the point.
+ * @param x0 The x-coordinate of the point.
+ * @param y0 The y-coordinate of the point.
+ */
public TDHPointRotation(double theta, double x0, double y0) {
super(theta);