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.73k stars 390 forks source link

Adding [Serializable] attribute to geometry3Sharp objects to allow Bi… #172

Open gmpatel opened 2 years ago

gmpatel commented 2 years ago

…naryFormatter serialization

geometry3Sharp is popular and been used in many projects. most projects has their own objects where geometry3Sharp objects are being used and in modern applications cloning/caching/serialization is very common. C#.Net's native BinaryFormatter is fastest way of serializing big objects which you can only do with the objects decorated using [Serializable] attribute. And also the own project classes are not BinaryFormatter serializable if geometry3Sharp objects are used in it. This change will help many projects.