Research Article

Development of the Korean Spine Database and Automatic Surface Mesh Intersection Algorithm for Constructing e-Spine Simulator

Algorithm 1

Tolerance.
Input: (edge), (surface mesh), tolerance
Output: (intersection point), and (points of ), , and (points of )
IF   ,
  IF Distance: to < tolerance
      RETURN   ;
ELSE IF Distance: to < tolerance
  RETURN   ;
ELSE IF   ,
  IF Distance: to < tolerance
      RETURN   = Create new point ( );
ELSE IF Distance: to < tolerance
  RETURN   = Create new point ( );