Skip to content

Similar method to python math.isClose but in runtime with IFloatingPointIeee754 #110666

Closed Answered by tannergooding
DrkWzrd asked this question in General
Discussion options

You must be logged in to vote

Sorry, but this is entirely not true. When you work (in my experience) in engineering-metrology-medical-3d cadcam design, you have millimeters/microns, and tolerances, and the great majority (maybe all) softwares that creates/scans/registers the data (stl, obj, ply, whatever) and they don't scale it to anything. They store the points in a mm space (because the rawness is valuable), with float (or double) precision.

I can't say for certain without seeing a concrete example, but serializing precise measurements as float/double will always introduce error. That error gets greater the larger the model; additionally, the larger the entire model is relative to the unit that 1.0 represents, th…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@tannergooding
Comment options

@StellarWolfEntertainment
Comment options

@DrkWzrd
Comment options

@tannergooding
Comment options

Answer selected by DrkWzrd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants