occt: master 374dffea

Author Committer Branch Timestamp Parent
kgv bugmaster master 2021-02-17 11:36:03 master e44b849d
Affected Issues  0032139: Visualization - support single-precision floating point data within Poly_Triangulation
Changeset 0032139: Visualization - support single-precision floating point data within Poly_Triangulation

Introduced NCollection_AliasedArray collection defining a general byte array
to be aliased as array of elements of mutable type.

Poly_ArrayOfNodes specializes this interface for collecting 2d/3d points with single/double precision.
Poly_Triangulation relies on this new class for definition of 3D nodes and UV coordinates
using gp_Pnt and gp_Pnt2d by default as before.

RWGltf_CafReader now fills in triangulation using single precision by default (as stored in the file).
mod - src/NCollection/FILES Diff File
add - src/NCollection/NCollection_AliasedArray.hxx Diff File
mod - src/Poly/FILES Diff File
add - src/Poly/Poly_ArrayOfNodes.cxx Diff File
add - src/Poly/Poly_ArrayOfNodes.hxx Diff File
add - src/Poly/Poly_ArrayOfUVNodes.cxx Diff File
add - src/Poly/Poly_ArrayOfUVNodes.hxx Diff File
mod - src/Poly/Poly_Triangulation.cxx Diff File
mod - src/Poly/Poly_Triangulation.hxx Diff File
mod - src/RWGltf/RWGltf_CafReader.cxx Diff File
mod - src/RWGltf/RWGltf_CafReader.hxx Diff File
mod - src/RWGltf/RWGltf_TriangulationReader.cxx Diff File
mod - src/RWGltf/RWGltf_TriangulationReader.hxx Diff File
mod - src/XSDRAWSTLVRML/XSDRAWSTLVRML.cxx Diff File