openfoam/applications/utilities/surface/surfaceCheck
Mark Olesen 27c2cdc040 ENH: vector mag(), magSqr() methods - complementary to dist(), distSqr()
ENH: use direct access to pointHit as point(), use dist(), distSqr()

- if the pointHit has already been checked for hit(), can/should
  simply use point() noexcept access subsequently to avoid redundant
  checks. Using vector distSqr() methods provides a minor optimization
  (no itermediate temporary), but can also make for clearer code.

ENH: copy construct pointIndexHit with different index

- symmetric with constructing from a pointHit with an index

STYLE: prefer pointHit point() instead of rawPoint()
2022-11-24 12:21:01 +00:00
..
Make STYLE: adjust names, locations for fileFormats 2020-02-18 13:51:20 +01:00
surfaceCheck.C ENH: vector mag(), magSqr() methods - complementary to dist(), distSqr() 2022-11-24 12:21:01 +00:00