DesignEngrLab / MIConvexHull

A .Net fast convex hull library for 2, 3, and higher dimensions.
http://designengrlab.github.io/MIConvexHull/
MIT License
341 stars 60 forks source link

MathHelper classes not static #11

Closed bklooste closed 7 years ago

bklooste commented 7 years ago

Suggest the mathhelper methods esp VectorBetweenVertices become static it should provide superior inlining,.

micampbell commented 7 years ago

I'm sorry but MathHelper is not meant to be part of the API for this library. It is an internal class that is given access to the "Positions" or coordinates of the vertices in advance of its operations. It is intended to be accessed by other methods outside of MIConvexHull. Feel free to copy the logic of any of the internal or private functions of MathHelper for use in your application.