perfect-shape

Geometry library

A collection of geometric algorithms useful for GUI manipulation and mathematical operations.

Perfect Shape is a collection of geometric algorithms that are mostly useful for GUI manipulation like checking containment of a point in popular geometric shapes such as rectangle, square, arc, circle, polygon, and paths containing lines, quadratic bézier curves, and cubic bezier curves. Also, some general math algorithms like IEEE-754 Remainder.

GitHub

30 stars
5 watching
0 forks
Language: Ruby
last commit: almost 3 years ago
algorithmalgorithmseven-odd-rulegeometrynonzero-ruleray-casting-algorithmraycasting-algorithmrubyruby-gemrubygemwinding-number-algorithm

Related projects:

RepositoryDescriptionStars
jujuadams/clean-shapesAn antialiased primitives library for GameMaker Studio 2 that allows developers to create smooth and precise shapes in their game39
habrador/computational-geometryA Unity-based library providing a range of algorithms and data structures for 2D computational geometry, including intersection detection, mesh generation, convex hulls, and triangulations.1,271
mapbox/wagyuA C++ library providing basic geometric operations like union, intersection, difference, and XOR for computing spatial relationships between geometric shapes.166
telescopest/geometryA simple geometry library for Pharo with basic shape representations and computations.3
msokalski/delabellaA C++ library for computing precise 2D geometric shapes from point sets, including triangulations and Voronoi diagrams.226
azrafe7/as3geomalgoA collection of geometry algorithms implemented in ActionScript.43
lukasbanana/geometronlibA C++ geometry library providing primitive data types and tools for generating 2D/3D meshes.93
paulmach/orbProvides a set of utility types and interfaces for working with 2D geometry in Go.918
noinia/hgeometryA Haskell library for computing with geometric objects like points, line segments, and polygons.123
fahad19/shape.lessProvides reusable CSS building blocks for creating geometric shapes.36
miho/jcsgA Java implementation of BSP-based Constructive Solid Geometry for 3D modeling and visualization.180
gradientspace/geometry3sharpA C# library for geometric computing and mesh algorithms1,727
rgeometry/rgeometryA comprehensive Rust library for geometric calculations and algorithms.149
j-f-liu/geom3dA collection of data structures and algorithms for 3D geometric modeling38
boostorg/geometryProvides C++14-based algorithms and data structures for solving geometric problems in computational geometry461