Region type based on the plane of the first face selected.
This class uses the supporting plane of the first face picked for the region and expands it for all faces with a normal close to that of the first face ("close" being defined by the maximum_distance parameter), and such that vertices are not far from that supporting plane (far being defined by the maximum_angle or cosine_of_maximum_angle parameter).
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