@DJBMASTER
Big thanks for the design tips ! IComparer seems to be really better ! I also implemented the ICloneable interface for the vectors, although i also implemented a copy constructor for the vectors as the clone method always returns a object and thus a cast is always required (the copy constructor solves this issue)!

a new version was uploaded
this update includes:
- vec_compareValues removed
- Vector/Color/Angle/VectorBase/PATH_EDGE now implement the IComparable<T> interface, thus CompareTo can be used (0 if the two objects have the same value)
- vec_copy removed
- Vector/Color/Angle/VectorBase/PATH_EDGE now implement the ICloneable interface
- Vector/Color/Angle/VectorBase/PATH_EDGE now have a copy constructor
- All EngineObjects now implement the IEquatable<t> interface (doesn't change anything, because equals and GetHashCode were already implemented...)

here's the link :

AcknexWrapper_8_10__2_1_9.zip

Last edited by Stromausfall; 01/02/11 18:27.

get the C# wrapper:
for A7.85.4 and A8.30.4, Version 2.3.9
at http://acknexwrapper2.matthias-auer.net/ or visit the thread