
###########################
A3DRWParamsTessellationData
###########################

.. c:struct:: A3DRWParamsTessellationData

   Structure to set the tessellation parameters. 
   
   
      3.0 
   
   
   
   Index
   =====
   
   .. rubric:: Variables
   
   
   .. rst-class:: api-xref-list
   
   
   * :c:member:`~A3DRWParamsTessellationData.m_eTessellationLevelOfDetail`
   * :c:member:`~A3DRWParamsTessellationData.m_dChordHeightRatio`
   * :c:member:`~A3DRWParamsTessellationData.m_dAngleToleranceDeg`
   * :c:member:`~A3DRWParamsTessellationData.m_dMaxChordHeight`
   * :c:member:`~A3DRWParamsTessellationData.m_bAccurateTessellation`
   * :c:member:`~A3DRWParamsTessellationData.m_bAccurateTessellationWithGrid`
   * :c:member:`~A3DRWParamsTessellationData.m_dAccurateTessellationWithGridMaximumStitchLength`
   * :c:member:`~A3DRWParamsTessellationData.m_bAccurateSurfaceCurvatures`
   * :c:member:`~A3DRWParamsTessellationData.m_bDoNotComputeNormalsInAccurateTessellation`
   * :c:member:`~A3DRWParamsTessellationData.m_bKeepUVPoints`
   * :c:member:`~A3DRWParamsTessellationData.m_bUseHeightInsteadOfRatio`
   * :c:member:`~A3DRWParamsTessellationData.m_dMaximalTriangleEdgeLength`
   
   



.. rst-class:: kind-group kind-variable

.. rubric:: Variables
   :class: kind-group-title


.. c:member:: A3DETessellationLevelOfDetail A3DRWParamsTessellationData.m_eTessellationLevelOfDetail

      .. rst-class:: sig-pretty-signature
      
         | :c:enum:`~A3DETessellationLevelOfDetail`
      
      Enum to specify predefined values for some following members. 
      



.. c:member:: A3DDouble A3DRWParamsTessellationData.m_dChordHeightRatio

      .. rst-class:: sig-pretty-signature
      
         | :c:type:`~A3DDouble`
      
      Specifies the ratio of the diagonal length of the bounding box to the chord height. 
      
      A value of 50 means that the diagonal of the bounding box is 50 times greater than the chord height. Values can range from 50 to 10,000. Higher values will generate more accurate tessellation. 
      



.. c:member:: A3DDouble A3DRWParamsTessellationData.m_dAngleToleranceDeg

      .. rst-class:: sig-pretty-signature
      
         | :c:type:`~A3DDouble`
      
      Specifies the maximum angle between two contiguous tessellation segments describing the curve of a topological edge for every face. 
      
      
      
       During tessellation, the curve describing the edge of a topological face will be approximated using straight line segments. m_dAngleToleranceDeg is the maximum angle between two consecutive segments. 
      
       Allowable values range from 10 to 40. Lower values will result in greater accuracy. 
      



.. c:member:: A3DDouble A3DRWParamsTessellationData.m_dMaxChordHeight

      .. rst-class:: sig-pretty-signature
      
         | :c:type:`~A3DDouble`
      
      Specifies the maximum distance between the original geometric surface specified in the CAD file and the resulting tessellation. 
      
      Be careful, very small values can generate very large tessellation files. 
      
       Conversely, very large values can generate inaccurate tessellation. In such cases, it may be better to use the ``m_dChordHeightRatio`` member to scale this value relative to the object that's being tessellated. 
      
      
         ``m_dMaxChordHeight`` is ignored if ``m_bUseHeightInsteadOfRatio`` isn't set to true. 
      
      



.. c:member:: A3DBool A3DRWParamsTessellationData.m_bAccurateTessellation

      .. rst-class:: sig-pretty-signature
      
         | :c:type:`~A3DBool`
      
      Accurate tessellation. 
      
      Uses standard parameters. 'A3D_FALSE' indicates the tessellation is set for visualization. Setting this value to 'A3D_TRUE' will generate tessellation more suited for analysis. Can be used with all TessellationLevelOfDetails. 
      



.. c:member:: A3DBool A3DRWParamsTessellationData.m_bAccurateTessellationWithGrid

      .. rst-class:: sig-pretty-signature
      
         | :c:type:`~A3DBool`
      
      Enables accurate tessellation with faces inner points on a grid. 
      



.. c:member:: A3DDouble A3DRWParamsTessellationData.m_dAccurateTessellationWithGridMaximumStitchLength

      .. rst-class:: sig-pretty-signature
      
         | :c:type:`~A3DDouble`
      
      Maximal grid stitch length. 
      
      Disabled if value is 0. Be careful, a too small value can generate a huge tessellation. Given in model units multiplied by the net scale of the Representation Item. 
      



.. c:member:: A3DBool A3DRWParamsTessellationData.m_bAccurateSurfaceCurvatures

      .. rst-class:: sig-pretty-signature
      
         | :c:type:`~A3DBool`
      
      Takes into account surfaces curvature in accurate tessellation to control triangles elongation directions. 
      
      Enable ``m_bAccurateTessellation`` or ``m_bAccurateTessellationWithGrid`` to use this option. 
      



.. c:member:: A3DBool A3DRWParamsTessellationData.m_bDoNotComputeNormalsInAccurateTessellation

      .. rst-class:: sig-pretty-signature
      
         | :c:type:`~A3DBool`
      
      Do not compute surface normals in accurate tessellation. 
      
      Enable ``m_bAccurateTessellation`` or ``m_bAccurateTessellationWithGrid`` to use this option. 
      



.. c:member:: A3DBool A3DRWParamsTessellationData.m_bKeepUVPoints

      .. rst-class:: sig-pretty-signature
      
         | :c:type:`~A3DBool`
      
      Keep parametric points as texture points. 
      



.. c:member:: A3DBool A3DRWParamsTessellationData.m_bUseHeightInsteadOfRatio

      .. rst-class:: sig-pretty-signature
      
         | :c:type:`~A3DBool`
      
      Use :c:member:`m_dMaxChordHeight <A3DRWParamsTessellationData.m_dMaxChordHeight>` instead of :c:member:`m_dChordHeightRatio <A3DRWParamsTessellationData.m_dChordHeightRatio>` if :c:member:`m_eTessellationLevelOfDetail <A3DRWParamsTessellationData.m_eTessellationLevelOfDetail>` = :c:enumerator:`~kA3DTessLODUserDefined`\ . 
      



.. c:member:: A3DDouble A3DRWParamsTessellationData.m_dMaximalTriangleEdgeLength

      .. rst-class:: sig-pretty-signature
      
         | :c:type:`~A3DDouble`
      
      Maximal length of the edges of triangles. 
      
      Disabled if value is 0. Be careful, a too small value can generate a huge tessellation. 
      




