Skip to content

Commit

Permalink
Fix references to CavalierContours library.
Browse files Browse the repository at this point in the history
  • Loading branch information
Werner Randelshofer committed Jun 27, 2023
1 parent 7c548ed commit d218f8f
Show file tree
Hide file tree
Showing 14 changed files with 27 additions and 60 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
----
Third party license for
Cavalier Contours
https://github.com/jbuckmccready/CavalierContours
https://github.com/jbuckmccready/CavalierContours/blob/7a35376eb4c2d5f917d3e0564ea630c94137255e/LICENSE

MIT License

Copyright (c) 2019 Jedidiah Buck McCready
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* <p>
* This code has been derived from CavalierContours.
* <dl>
* <dt>CavalierCoutours. Copyright (c) 2019 Jedidiah Buck McCready.
* <dt>CavalierContours. Copyright (c) 2019 Jedidiah Buck McCready.
* <a href="https://github.com/jbuckmccready/CavalierContours/blob/7a35376eb4c2d5f917d3e0564ea630c94137255e/LICENSE">MIT License.</a></dt>
* <dd><a href="https://github.com/jbuckmccready/CavalierContours">github.com</a></dd>
* </dl>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,39 +22,14 @@
import org.jhotdraw8.geom.intersect.IntersectionResultEx;

import java.awt.geom.Point2D;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.BitSet;
import java.util.Comparator;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.function.BiConsumer;
import java.util.function.BiPredicate;
import java.util.function.Consumer;
import java.util.function.Function;
import java.util.function.IntPredicate;
import java.util.function.Predicate;
import java.util.*;
import java.util.function.*;

import static org.jhotdraw8.geom.contour.BulgeConversionFunctions.arcRadiusAndCenter;
import static org.jhotdraw8.geom.contour.ContourIntersections.allSelfIntersects;
import static org.jhotdraw8.geom.contour.ContourIntersections.findIntersects;
import static org.jhotdraw8.geom.contour.ContourIntersections.intrCircle2Circle2;
import static org.jhotdraw8.geom.contour.ContourIntersections.intrLineSeg2Circle2;
import static org.jhotdraw8.geom.contour.ContourIntersections.intrLineSeg2LineSeg2;
import static org.jhotdraw8.geom.contour.ContourIntersections.intrPlineSegs;
import static org.jhotdraw8.geom.contour.PlineVertex.closestPointOnSeg;
import static org.jhotdraw8.geom.contour.PlineVertex.createFastApproxBoundingBox;
import static org.jhotdraw8.geom.contour.PlineVertex.segMidpoint;
import static org.jhotdraw8.geom.contour.PlineVertex.splitAtPoint;
import static org.jhotdraw8.geom.contour.ContourIntersections.*;
import static org.jhotdraw8.geom.contour.PlineVertex.*;
import static org.jhotdraw8.geom.contour.PolyArcPath.createApproxSpatialIndex;
import static org.jhotdraw8.geom.contour.Utils.angle;
import static org.jhotdraw8.geom.contour.Utils.deltaAngle;
import static org.jhotdraw8.geom.contour.Utils.pointFromParametric;
import static org.jhotdraw8.geom.contour.Utils.pointWithinArcSweepAngle;
import static org.jhotdraw8.geom.contour.Utils.realPrecision;
import static org.jhotdraw8.geom.contour.Utils.sliceJoinThreshold;
import static org.jhotdraw8.geom.contour.Utils.unitPerp;
import static org.jhotdraw8.geom.contour.Utils.*;

/**
* ContourBuilder.
Expand All @@ -63,7 +38,7 @@
* <p>
* This code has been derived from CavalierContours.
* <dl>
* <dt>CavalierCoutours. Copyright (c) 2019 Jedidiah Buck McCready.
* <dt>CavalierContours. Copyright (c) 2019 Jedidiah Buck McCready.
* <a href="https://github.com/jbuckmccready/CavalierContours/blob/7a35376eb4c2d5f917d3e0564ea630c94137255e/LICENSE">MIT License.</a></dt>
* <dd><a href="https://github.com/jbuckmccready/CavalierContours">github.com</a></dd>
* </dl>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,25 +17,14 @@
import org.jhotdraw8.geom.AABB;
import org.jhotdraw8.geom.Points;
import org.jhotdraw8.geom.Rectangles;
import org.jhotdraw8.geom.intersect.IntersectCircleCircle;
import org.jhotdraw8.geom.intersect.IntersectCircleLine;
import org.jhotdraw8.geom.intersect.IntersectLineLine;
import org.jhotdraw8.geom.intersect.IntersectionPoint;
import org.jhotdraw8.geom.intersect.IntersectionPointEx;
import org.jhotdraw8.geom.intersect.IntersectionResult;
import org.jhotdraw8.geom.intersect.IntersectionResultEx;
import org.jhotdraw8.geom.intersect.*;

import java.awt.geom.Point2D;
import java.util.Deque;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import java.util.function.BiPredicate;
import java.util.function.DoubleFunction;
import java.util.function.IntConsumer;
import java.util.function.IntPredicate;
import java.util.function.Predicate;
import java.util.function.Supplier;
import java.util.function.*;

import static org.jhotdraw8.geom.contour.BulgeConversionFunctions.arcRadiusAndCenter;
import static org.jhotdraw8.geom.contour.PlineVertex.createFastApproxBoundingBox;
Expand All @@ -50,7 +39,7 @@
* <p>
* This code has been derived from CavalierContours.
* <dl>
* <dt>CavalierCoutours. Copyright (c) 2019 Jedidiah Buck McCready.
* <dt>CavalierContours. Copyright (c) 2019 Jedidiah Buck McCready.
* <a href="https://github.com/jbuckmccready/CavalierContours/blob/7a35376eb4c2d5f917d3e0564ea630c94137255e/LICENSE">MIT License.</a></dt>
* <dd><a href="https://github.com/jbuckmccready/CavalierContours">github.com</a></dd>
* </dl>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* <p>
* This code has been derived from CavalierContours.
* <dl>
* <dt>CavalierCoutours. Copyright (c) 2019 Jedidiah Buck McCready.
* <dt>CavalierContours. Copyright (c) 2019 Jedidiah Buck McCready.
* <a href="https://github.com/jbuckmccready/CavalierContours/blob/7a35376eb4c2d5f917d3e0564ea630c94137255e/LICENSE">MIT License.</a></dt>
* <dd><a href="https://github.com/jbuckmccready/CavalierContours">github.com</a></dd>
* </dl>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* <p>
* This code has been derived from CavalierContours.
* <dl>
* <dt>CavalierCoutours. Copyright (c) 2019 Jedidiah Buck McCready.
* <dt>CavalierContours. Copyright (c) 2019 Jedidiah Buck McCready.
* <a href="https://github.com/jbuckmccready/CavalierContours/blob/7a35376eb4c2d5f917d3e0564ea630c94137255e/LICENSE">MIT License.</a></dt>
* <dd><a href="https://github.com/jbuckmccready/CavalierContours">github.com</a></dd>
* </dl>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* <p>
* This code has been derived from CavalierContours.
* <dl>
* <dt>CavalierCoutours. Copyright (c) 2019 Jedidiah Buck McCready.
* <dt>CavalierContours. Copyright (c) 2019 Jedidiah Buck McCready.
* <a href="https://github.com/jbuckmccready/CavalierContours/blob/7a35376eb4c2d5f917d3e0564ea630c94137255e/LICENSE">MIT License.</a></dt>
* <dd><a href="https://github.com/jbuckmccready/CavalierContours">github.com</a></dd>
* </dl>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* <p>
* This code has been derived from CavalierContours.
* <dl>
* <dt>CavalierCoutours. Copyright (c) 2019 Jedidiah Buck McCready.
* <dt>CavalierContours. Copyright (c) 2019 Jedidiah Buck McCready.
* <a href="https://github.com/jbuckmccready/CavalierContours/blob/7a35376eb4c2d5f917d3e0564ea630c94137255e/LICENSE">MIT License.</a></dt>
* <dd><a href="https://github.com/jbuckmccready/CavalierContours">github.com</a></dd>
* </dl>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* <p>
* This code has been derived from CavalierContours.
* <dl>
* <dt>CavalierCoutours. Copyright (c) 2019 Jedidiah Buck McCready.
* <dt>CavalierContours. Copyright (c) 2019 Jedidiah Buck McCready.
* <a href="https://github.com/jbuckmccready/CavalierContours/blob/7a35376eb4c2d5f917d3e0564ea630c94137255e/LICENSE">MIT License.</a></dt>
* <dd><a href="https://github.com/jbuckmccready/CavalierContours">github.com</a></dd>
* </dl>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* <p>
* This code has been derived from CavalierContours.
* <dl>
* <dt>CavalierCoutours. Copyright (c) 2019 Jedidiah Buck McCready.
* <dt>CavalierContours. Copyright (c) 2019 Jedidiah Buck McCready.
* <a href="https://github.com/jbuckmccready/CavalierContours/blob/7a35376eb4c2d5f917d3e0564ea630c94137255e/LICENSE">MIT License.</a></dt>
* <dd><a href="https://github.com/jbuckmccready/CavalierContours">github.com</a></dd>
* </dl>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* <p>
* This code has been derived from CavalierContours.
* <dl>
* <dt>CavalierCoutours. Copyright (c) 2019 Jedidiah Buck McCready.
* <dt>CavalierContours. Copyright (c) 2019 Jedidiah Buck McCready.
* <a href="https://github.com/jbuckmccready/CavalierContours/blob/7a35376eb4c2d5f917d3e0564ea630c94137255e/LICENSE">MIT License.</a></dt>
* <dd><a href="https://github.com/jbuckmccready/CavalierContours">github.com</a></dd>
* </dl>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,7 @@
import static java.lang.Math.max;
import static java.lang.Math.min;
import static org.jhotdraw8.geom.contour.BulgeConversionFunctions.arcRadiusAndCenter;
import static org.jhotdraw8.geom.contour.Utils.angle;
import static org.jhotdraw8.geom.contour.Utils.closestPointOnLineSeg;
import static org.jhotdraw8.geom.contour.Utils.pointFromParametric;
import static org.jhotdraw8.geom.contour.Utils.pointWithinArcSweepAngle;
import static org.jhotdraw8.geom.contour.Utils.*;

/**
* PlineVertex.
Expand All @@ -37,7 +34,7 @@
* <p>
* This code has been derived from CavalierContours.
* <dl>
* <dt>CavalierCoutours. Copyright (c) 2019 Jedidiah Buck McCready.
* <dt>CavalierContours. Copyright (c) 2019 Jedidiah Buck McCready.
* <a href="https://github.com/jbuckmccready/CavalierContours/blob/7a35376eb4c2d5f917d3e0564ea630c94137255e/LICENSE">MIT License.</a></dt>
* <dd><a href="https://github.com/jbuckmccready/CavalierContours">github.com</a></dd>
* </dl>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* <p>
* This code has been derived from CavalierContours.
* <dl>
* <dt>CavalierCoutours. Copyright (c) 2019 Jedidiah Buck McCready.
* <dt>CavalierContours. Copyright (c) 2019 Jedidiah Buck McCready.
* <a href="https://github.com/jbuckmccready/CavalierContours/blob/7a35376eb4c2d5f917d3e0564ea630c94137255e/LICENSE">MIT License.</a></dt>
* <dd><a href="https://github.com/jbuckmccready/CavalierContours">github.com</a></dd>
* </dl>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* <p>
* This code has been derived from CavalierContours.
* <dl>
* <dt>CavalierCoutours. Copyright (c) 2019 Jedidiah Buck McCready.
* <dt>CavalierContours. Copyright (c) 2019 Jedidiah Buck McCready.
* <a href="https://github.com/jbuckmccready/CavalierContours/blob/7a35376eb4c2d5f917d3e0564ea630c94137255e/LICENSE">MIT License.</a></dt>
* <dd><a href="https://github.com/jbuckmccready/CavalierContours">github.com</a></dd>
* </dl>
Expand Down

0 comments on commit d218f8f

Please sign in to comment.