Search code examples
computational-geometrymeshopencascade

What is a linear / angular deflection in OpenCASCADE's Incremental Mesh?


Lately I've been using OpenCASCADE (PythonOCC, to be precise) for some CAD operations, including meshing shapes, and stumbled upon this class: BRepMesh_IncrementalMesh.

I didn't find any hints on what the theLinDeflection and theAngDeflection parameters mean - and would like to know more about this.

I would appreciate any reading materials / hints / explanations on this subject.


Solution

  • These parameters will tell how "close" to the original surface the mesh should be.

    In the docs it's described as this:

    Linear deflection limits the distance between a curve and its tessellation, whereas angular deflection limits the angle between subsequent segments in a polyline.

    deflections

    Please check OCCT documentation for a detailed description.