gradientspace / geometry3Sharp

C# library for 2D/3D geometric computation, mesh algorithms, and so on. Boost license.
http://www.gradientspace.com
Boost Software License 1.0
1.7k stars 383 forks source link

Add more snapping utility methods #101

Closed gregmeess closed 5 years ago

gregmeess commented 5 years ago

Added a two more simple methods to enforce snapping on the high or low side of the interval.

Also added optional "offset" parameter to allow for using intervals starting from a value other than zero.