MedicalVisualization
Iso Line Edge Intersection
← Marching Quads Cases | ● | Edge Intersections with C++ →
The intersection point on one edge of cell with the iso line is computed as follows:
- Let s1 and s2 be the scalar values of the edge’s end points →x1 and →x2, respectively. Let v be the iso value to be extracted.
- There is an intersection point →p if (s1<v∧s2≥v)∨(s1≥v∧s2<v) with
- →p=(1−w)→x1+w→x2,w=v−s1s2−s1