Coding - Optimize gp_Vec, gp_Vec2d, gp_XY, and gp_XYZ classes
Open
dpasukhi
opened this issue 5 months ago
•
0 comments
- Renamed parameters in IsEqual, Mirror, and Mirrored methods for consistency.
- Simplified calculations in IsEqual methods by using absolute differences.
- Enhanced Mirror methods to precompute reflection matrix terms for better performance.
- Updated Transform methods to use consistent naming for transformation parameters.
- Replaced sqrt with std::hypot in Modulus methods for better numerical stability.
- Streamlined Cross and Multiply methods in gp_XYZ and gp_XY classes for clarity.
- Improved comments and documentation for better understanding of the code.