summaryrefslogtreecommitdiff
path: root/CSMath/src/bezier/transforms/geom/TDHTransform.java
diff options
context:
space:
mode:
authorbculkin2442 <bjculkin@mix.wvu.edu>2018-10-14 11:42:53 -0400
committerbculkin2442 <bjculkin@mix.wvu.edu>2018-10-14 11:42:53 -0400
commit8f42378c707c8c962082e394fe67ac3bb5cd557b (patch)
tree9b4070c764b8d0ed792d9f79a66fc169a237b949 /CSMath/src/bezier/transforms/geom/TDHTransform.java
parentf778a81e81506a4db455a6f506571c6bba935bf2 (diff)
General cleanup
Diffstat (limited to 'CSMath/src/bezier/transforms/geom/TDHTransform.java')
-rw-r--r--CSMath/src/bezier/transforms/geom/TDHTransform.java54
1 files changed, 0 insertions, 54 deletions
diff --git a/CSMath/src/bezier/transforms/geom/TDHTransform.java b/CSMath/src/bezier/transforms/geom/TDHTransform.java
deleted file mode 100644
index 20afc53..0000000
--- a/CSMath/src/bezier/transforms/geom/TDHTransform.java
+++ /dev/null
@@ -1,54 +0,0 @@
-package bezier.transforms.geom;
-
-import bezier.geom.TDHPoint;
-
-/**
- * Transformation applicable to TDHPoints.
- *
- * @author bjculkin
- *
- */
-@FunctionalInterface
-public interface TDHTransform {
- /**
- * Get the type of this transform.
- *
- * Unknown transformations are assumed to be identity transforms.
- *
- * @return The type of this transform.
- */
- default TDHTransformType type() {
- return TDHTransformType.IDENTITY;
- }
-
- /**
- * Get the matrix representation of the transform.
- *
- * Unknown transformations are assumed to be identity transforms.
- *
- * @return The matrix representation of the transform.
- */
- default double[][] matrix() {
- return new double[][] { new double[] { 1, 0, 0 }, new double[] { 0, 1, 0 }, new double[] { 0, 0, 1 } };
- }
-
- /**
- * Get the inverse of the transform.
- *
- * Unknown transformations are assumed to be identity transforms.
- *
- * @return The inverse the transform.
- */
- default TDHTransform invert() {
- return new TDHIdentity();
- }
-
- /**
- * Apply the transform to a point.
- *
- * @param punkt
- * The point to transform.
- * @return A transformed version of the point.
- */
- TDHPoint transform(TDHPoint punkt);
-} \ No newline at end of file