optimad / bitpit

Open source library for scientific HPC
http://optimad.github.io/bitpit/
GNU Lesser General Public License v3.0
116 stars 33 forks source link

CG/CG_elem: rework point/plane intersection evaluation #427

Closed ksamouchos closed 11 months ago

ksamouchos commented 11 months ago

This pull request:

  1. adds a new function for evaluating the point-line intersection
  2. improves the test checking the point-segment intersection
  3. micro-optimizes the function evaluating the point-segment intersection (there is one less square root).

This pull-request completes task IMM-728.