21 [[nodiscard]]
bool valid()
const {
return face.valid(); }
22 [[nodiscard]]
explicit operator bool()
const {
return face.valid(); }
#define MRMESH_API
Definition MRMeshFwd.h:80
Definition MRCameraOrientationPlugin.h:8
a point located on some mesh's face
Definition MRPointOnFace.h:13
bool valid() const
check for validity, otherwise the point is not defined
Definition MRPointOnFace.h:21
FaceId face
mesh's face containing the point
Definition MRPointOnFace.h:15
MRMESH_API friend std::istream & operator>>(std::istream &s, PointOnFace &pof)
MRMESH_API friend std::ostream & operator<<(std::ostream &s, const PointOnFace &pof)
Vector3f point
a point of the mesh's face
Definition MRPointOnFace.h:18