To test the API of this lib, I created input data that was not sufficent for creating an actual convex hull. This resulted in an exception. In my opinion a result object that can be in a faulted state is far more usefull when using a library like this one.
E.g.:
public enum ConvexHullCreationResultType
{
Success,
NotEnoughVerticiesForDimension,
}
public class ConvexHullCreationResult
{
//this could be null
public ConvexHull<TVertex, TFace> Result { get; }
public ConvexHullCreationResultType Outcome { get; }
}
Would you be interested in adding an API like that?
I'd like to use this library and would rather help designing and implementing such an API, than using a wrapper.
To test the API of this lib, I created input data that was not sufficent for creating an actual convex hull. This resulted in an exception. In my opinion a result object that can be in a faulted state is far more usefull when using a library like this one.
E.g.:
Would you be interested in adding an API like that? I'd like to use this library and would rather help designing and implementing such an API, than using a wrapper.