Closed jkunimune closed 3 months ago
The updates primarily focus on enhancing the documentation of the boolean
method within the vedo/mesh.py
file. These changes clarify the functionality of the two available boolean algorithms, include authorship references, and provide details about the tol
parameter for point distance comparisons. Overall, the modifications improve user understanding without impacting the existing functionality.
Files | Change Summary |
---|---|
vedo/mesh.py |
Enhanced documentation for the boolean method, clarifying algorithm options, authorship, and tol parameter details. |
sequenceDiagram
participant User
participant Mesh
User->>Mesh: Call boolean(operation, mesh2, method, tol)
Mesh->>Mesh: Determine algorithm based on method
alt Method 0
Mesh->>Mesh: Execute Cory Quammen's algorithm
else Method 1
Mesh->>Mesh: Execute Adam Updegrove's loop algorithm
end
Mesh-->>User: Return result
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
This function accepts arguments called
method
andtol
but didn't state what they did (it was stated thatmethod
had two possible options but not what they were or what the difference between them was). This PR adds that information, taken from the VTK documentation and source code.