Triangle from Vertices Constructor
Add from_vertices constructor for Triangle that calculates the normal vector and checks that vertices are valid. Uses right-hand rule cross-product for finding the normal.
No need for apologies! To clarify, are you saying you would rather this feature not exist in stl_io at all or that you would rather the implementation incorporated what is available through nalgebra? Either is fine, but if it is the latter, I'm happy to revise. And thank you for your response!
I'd rather not have it in stl_io. The rationale is, that I want to keep the dependencies reasonably minimal. Hope that makes sense.
cfpbiggs @.***> schrieb am Di., 4. März 2025, 22:18:
No need for apologies! To clarify, are you saying you would rather this feature not exist in stl_io at all or that you would rather the implementation incorporated what is available through nalgebra? Either is fine, but if it is the latter, I'm happy to revise. And thank you for your response!
— Reply to this email directly, view it on GitHub https://github.com/hmeyer/stl_io/pull/25#issuecomment-2698936168, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAE7LCSNU6L456JHSBWI6T2SYKBDAVCNFSM6AAAAABXZEOYGKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMOJYHEZTMMJWHA . You are receiving this because you commented.Message ID: @.***> [image: cfpbiggs]cfpbiggs left a comment (hmeyer/stl_io#25) https://github.com/hmeyer/stl_io/pull/25#issuecomment-2698936168
No need for apologies! To clarify, are you saying you would rather this feature not exist in stl_io at all or that you would rather the implementation incorporated what is available through nalgebra? Either is fine, but if it is the latter, I'm happy to revise. And thank you for your response!
— Reply to this email directly, view it on GitHub https://github.com/hmeyer/stl_io/pull/25#issuecomment-2698936168, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAE7LCSNU6L456JHSBWI6T2SYKBDAVCNFSM6AAAAABXZEOYGKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMOJYHEZTMMJWHA . You are receiving this because you commented.Message ID: @.***>
That makes perfect sense! Does that mean issue #19 should be closed? Based on that thread, it looked like this was still a desired feature.