Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code Review ClippableFace #1

Open
marlitas opened this issue Sep 25, 2023 · 3 comments
Open

Code Review ClippableFace #1

marlitas opened this issue Sep 25, 2023 · 3 comments
Assignees

Comments

@marlitas
Copy link
Contributor

This issue will track review comments and questions for ClippableFace.

@marlitas marlitas self-assigned this Sep 25, 2023
@marlitas
Copy link
Contributor Author

  • I am unclear what a "fake" corner is... Is this the point that is chosen along a line that another point is moved to that you were talking about? If so, I think more documentation is needed to properly set that concept up.
The fakeCornerY is used to determine the "fake" corner that is used for unsorted-edge clipping.
  • What does "inspecting the edges" mean?
    Converts the face to an edged-clipped face (inspecting the edges)

  • I think I vaguely understand what an accumulator is (creating a clippableFace from a variety of edges ), but I am not sure in the different between a ScratchAccumulator and Accumulator here...

/**
   * Returns a singleton accumulator for this type of face.
   */
  getScratchAccumulator(): ClippableFaceAccumulator;

  /**
   * Returns a new accumulator for this type of face.
   */
  getAccumulator(): ClippableFaceAccumulator;
  • What is a new-polygon?

marlitas added a commit that referenced this issue Sep 25, 2023
@jonathanolson
Copy link
Contributor

Added documentation about fake corners in e080868.

@jonathanolson
Copy link
Contributor

Added documentation to the places noted (since those seem stable enough to deserve the documentation)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants