Convention matches SectionPlane: the half-space
dot(dir, p) + dist > 0 is clipped (discarded), the half-space
dot(dir, p) + dist <= 0 is kept. dir need not be normalised;
the extractor normalises internally and rescales dist to match.
For a viewer!SectionPlane, build a CapPlane directly from its
dir and dist accessors — the conventions agree.
World-space plane that buildSectionCaps treats as a cut through the source SceneModel.
Convention matches SectionPlane: the half-space
dot(dir, p) + dist > 0is clipped (discarded), the half-spacedot(dir, p) + dist <= 0is kept.dirneed not be normalised; the extractor normalises internally and rescalesdistto match.For a
viewer!SectionPlane, build aCapPlanedirectly from itsdiranddistaccessors — the conventions agree.