Region type based on the quality of the least squares plane fit applied to faces of a polygon mesh.
This class fits a plane, using PCA, to chunks of faces in a polygon mesh and controls the quality of this fit. If all quality conditions are satisfied, the chunk is accepted as a valid region, otherwise rejected.
a model of ReadablePropertyMap whose key type is the vertex type of a polygon mesh (boost::graph_traits<PolygonMesh>::vertex_descriptor) and value type is GeomTraits::Point_3
This function determines if the face query is within the maximum_distance from the corresponding plane and if the angle between its normal and the plane's normal is below the maximum_angle. If both conditions are satisfied, it returns true, otherwise false.
Parameters
query
item of the query face
Precondition
query is a valid face_descriptor (boost::graph_traits<PolygonMesh>::face_descriptor) of pmesh