-
Notifications
You must be signed in to change notification settings - Fork 461
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
Question around room area calculation #229
Comments
Ah ok so i have found the code for determining ordering
With the helpful links that show the summation so this makes sense now, it is the area calculation, but because we are only interested in the sign and not the actual value we can omit the 1/2. i assume that in the following lines
we have to identify the paths that define the boundaries of the shapes so they can be excluded the areas of the boundaries will differ from the areas of the internal shapes as they will be negative and the internal faces positve, or vice versa we also assume that there will be more internal faces than boundaries therefore whichever type of value is more prevelant positive or negative are the internal faces we are interested in this is how we eliminate the boundary. What i am struggling with is;
anyway ill continue to try and understand but i just want to put this here in case anyone can save me some time XD |
graph-cycles.js line 237, can anyone help me with the significance of this line
i understand we take the positions for the start aned end of an edge, and the first bracketed term i think gives the length of the edge but why do we then multiply this by the sum of the y coordinate of the start and end position ?
it is used to eliminate certain cycles from the final result but otherwise im not sure
The text was updated successfully, but these errors were encountered: