Download spash Free Java Code
Description
Basic 2D shape overlap and ray library in Java.
Source Files
The download file spash-master.zip has the following entries.
.gitignore/* w w w .j a v a2 s . c om*/
LICENSE
README.md
build.xml
demo/org/spash/AbstractDemo.java
demo/org/spash/OverlapDemo.java
demo/org/spash/PlayerPushesAllOthers.java
demo/org/spash/RayDemo.java
lib/junit-4.1.jar
lib/mockito-all-1.6.jar
src/org/spash/Body.java
src/org/spash/BodyOverlapper.java
src/org/spash/BroadPhase.java
src/org/spash/DefaultBody.java
src/org/spash/Interval.java
src/org/spash/OverlapEvent.java
src/org/spash/OverlapListener.java
src/org/spash/Pair.java
src/org/spash/PairFilter.java
src/org/spash/ROVector2f.java
src/org/spash/Shape.java
src/org/spash/Space.java
src/org/spash/SpaceStats.java
src/org/spash/Translation.java
src/org/spash/UnsupportedShapeException.java
src/org/spash/Vector2f.java
src/org/spash/broad/BruteForce.java
src/org/spash/broad/hash/BaseSpan.java
src/org/spash/broad/hash/Cell.java
src/org/spash/broad/hash/DefaultSpanFactory.java
src/org/spash/broad/hash/GridCoordinate.java
src/org/spash/broad/hash/LineSpan.java
src/org/spash/broad/hash/RectSpan.java
src/org/spash/broad/hash/Span.java
src/org/spash/broad/hash/SpanFactory.java
src/org/spash/broad/hash/SpatialHash.java
src/org/spash/broad/sortsweep/Axis.java
src/org/spash/broad/sortsweep/SortAndSweep.java
src/org/spash/broad/sortsweep/XAxis.java
src/org/spash/broad/sortsweep/YAxis.java
src/org/spash/narrow/AbstractShapeOverlapper.java
src/org/spash/narrow/CircleCircleOverlapper.java
src/org/spash/narrow/CircleRectOverlapper.java
src/org/spash/narrow/ConfigurableBodyOverlapper.java
src/org/spash/narrow/InverseOverlapper.java
src/org/spash/narrow/LineCircleOverlapper.java
src/org/spash/narrow/LineLineOverlapper.java
src/org/spash/narrow/LineRectOverlapper.java
src/org/spash/narrow/RectRectOverlapper.java
src/org/spash/narrow/ShapeOverlapper.java
src/org/spash/ray/Ray.java
src/org/spash/ray/RayBodyIntersector.java
src/org/spash/ray/RayBroadPhase.java
src/org/spash/ray/RayContact.java
src/org/spash/ray/intersect/BaseRayShapeIntersector.java
src/org/spash/ray/intersect/ConfigurableRayBodyIntersector.java
src/org/spash/ray/intersect/InfiniteRayVsCircleSolver.java
src/org/spash/ray/intersect/IntersectionState.java
src/org/spash/ray/intersect/LineIntersector.java
src/org/spash/ray/intersect/RayCircleIntersector.java
src/org/spash/ray/intersect/RayLineIntersector.java
src/org/spash/ray/intersect/RayRectIntersector.java
src/org/spash/ray/intersect/RayShapeIntersector.java
src/org/spash/shape/AbstractShape.java
src/org/spash/shape/Circle.java
src/org/spash/shape/Line.java
src/org/spash/shape/Rect.java
test/org/spash/DefaultBodyTest.java
test/org/spash/IntervalTest.java
test/org/spash/PairTest.java
test/org/spash/SpaceStatsTest.java
test/org/spash/SpaceTest.java
test/org/spash/Space_AllReachedTest.java
test/org/spash/Space_IsReachedTest.java
test/org/spash/Space_ProcessOverlapsTest.java
test/org/spash/TestHelper.java
test/org/spash/TranslationTest.java
test/org/spash/Vector2fTest.java
test/org/spash/Vector2f_ClosestTest.java
test/org/spash/broad/BroadTestHelper.java
test/org/spash/broad/BruteForceTest.java
test/org/spash/broad/hash/CellTest.java
test/org/spash/broad/hash/DefaultSpanFactoryTest.java
test/org/spash/broad/hash/GridCoordinateTest.java
test/org/spash/broad/hash/LineSpanTest.java
test/org/spash/broad/hash/RectSpanTest.java
test/org/spash/broad/hash/SpatialHashTest.java
test/org/spash/broad/hash/SpatialHash_FindPairsTest.java
test/org/spash/broad/hash/SpatialHash_PotentialBodiesTest.java
test/org/spash/broad/sortsweep/SortAndSweepAlongXTest.java
test/org/spash/broad/sortsweep/SortAndSweepAlongYTest.java
test/org/spash/broad/sortsweep/XAxisTest.java
test/org/spash/broad/sortsweep/YAxisTest.java
test/org/spash/narrow/BodyOverlapper_GetMinTranslationTest.java
test/org/spash/narrow/CircleCircleOverlapperTest.java
test/org/spash/narrow/CircleRectOverlapperTest.java
test/org/spash/narrow/ConfigurableBodyOverlapperTest.java
test/org/spash/narrow/InverseOverlapperTest.java
test/org/spash/narrow/LineCircleOverlapperTest.java
test/org/spash/narrow/LineLineOverlapperTest.java
test/org/spash/narrow/LineRectOverlapperTest.java
test/org/spash/narrow/RectRectOverlapperTest.java
test/org/spash/ray/RayContactTest.java
test/org/spash/ray/RayTest.java
test/org/spash/ray/intersect/ConfigurableRayBodyIntersectorTest.java
test/org/spash/ray/intersect/IntersectionStateTest.java
test/org/spash/ray/intersect/LineIntersector_DetermineIntersectionTest.java
test/org/spash/ray/intersect/LineIntersector_IsPointWithinColinearSegmentTest.java
test/org/spash/ray/intersect/RayBodyIntersector_CircleTest.java
test/org/spash/ray/intersect/RayBodyIntersector_LineTest.java
test/org/spash/ray/intersect/RayBodyIntersector_RectTest.java
test/org/spash/ray/intersect/RayCircleIntersectorTest.java
test/org/spash/ray/intersect/RayLineIntersectorTest.java
test/org/spash/ray/intersect/RayRectIntersectorTest.java
test/org/spash/shape/CircleTest.java
test/org/spash/shape/LineTest.java
test/org/spash/shape/RectTest.java
test/org/spash/shape/ShapeTestHelper.java
Download
Click the following link to download spash-master.zip.
spash-master.zip