|
EdgeLinesFactoryDuplicatePositionsPrecisionBitsCount Property |
Gets or sets number of bits in the uint value that are used to hash the positions when the code combines duplicate positions.
When combining duplicate positions, the double x, y and z values are normalized to values from 0 to 1 based the bounding box of the positions.
Then the normalized value is multiplied by a factor that is generated from this value (for example for the default 22 bits the value 0x3FFFFF is generated).
This value is then used to calculate the hash of the positions. The reason why not all bits are used (32) is that this helps combine positions
that should be on the same 3D space, but are slightly different because of floating point imprecision (for example when using Boolean operations or Slice).
Smaller number helps combine similar positions. Max value is 31 bits.
Namespace: Ab3d.UtilitiesAssembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.2.9104.2045
Syntax public int DuplicatePositionsPrecisionBitsCount { get; set; }
Property Value
Int32See Also