Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-bigrep committed Mar 6, 2020
1 parent e08f9bc commit dbf3d79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/slicing.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ When the height of the cross section is determined, all triangles are intersecte

![Triangle Line Intersection](assets/slice_triangle.svg)

For performance reasons, we figure out the "z bounding box" of each face at first which endows us with a fast precheck (layer height vs face). Then we parallize over the layer heights and perfrom the layer height vs face intersection test (including the precheck).
For performance reasons, we figure out the "z bounding box" of each face at first which endows us with a fast precheck (layer height vs face). Then we parallize over the layer heights and perform the layer height vs face intersection test (including the precheck).

To find the intersection of a plane and a triangle, we simply interpolate all three line segments of the triangle. At least two of these interpolations should span the plane. We take the two coordinates where the interpolations have the same Z coordinate as the plane and those will become the two endpoints of the line segment.

Expand Down

0 comments on commit dbf3d79

Please sign in to comment.