Quality
- class tissue_forge.models.vertex.solver.Quality(vertexMergeDistCf: FloatP_t const & = 0.0001, surfaceDemoteAreaCf: FloatP_t const & = 0.0001, bodyDemoteVolumeCf: FloatP_t const & = 0.0001, _edgeSplitDistCf: FloatP_t const & = 2.0)
An object that schedules topological operations on a mesh to maintain its quality
- property vertex_merge_distance: float
Distance below which two vertices are scheduled for merging
- property surface_demote_area: float
Area below which a surface is scheduled to become a vertex
- property body_demote_volume: float
Volume below which a body is scheduled to become a vertex
- property edge_split_distance: float
Distance at which two vertices are seperated when a vertex is split
- property collision_2d: bool
Whether 2D collisions are implemented
- toString() std::string
Get a JSON string representation
- static fromString(s: std::string const &) TissueForge::models::vertex::MeshQuality
Create an instance from a JSON string representation
- Parameters:
s (string) – JSON string representation
- do_quality() HRESULT
Perform quality operations work
- working() bool const
Test whether quality operations are being done
- Return type:
boolean
- Returns:
true if quality operations are being done
- __str__() str
Return str(self).