MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::PointOnFace Struct Reference

a point located on some mesh's face More...

#include <MRPointOnFace.h>

Public Member Functions

bool valid () const
 check for validity, otherwise the point is not defined
 
 operator bool () const
 

Public Attributes

FaceId face
 mesh's face containing the point
 
Vector3f point
 a point of the mesh's face
 

Friends

MRMESH_API friend std::ostream & operator<< (std::ostream &s, const PointOnFace &pof)
 
MRMESH_API friend std::istream & operator>> (std::istream &s, PointOnFace &pof)
 

Detailed Description

a point located on some mesh's face

Member Function Documentation

◆ operator bool()

MR::PointOnFace::operator bool ( ) const
inlineexplicitnodiscard

◆ valid()

bool MR::PointOnFace::valid ( ) const
inlinenodiscard

check for validity, otherwise the point is not defined

Friends And Related Symbol Documentation

◆ operator<<

MRMESH_API friend std::ostream & operator<< ( std::ostream & s,
const PointOnFace & pof )
friend

◆ operator>>

MRMESH_API friend std::istream & operator>> ( std::istream & s,
PointOnFace & pof )
friend

Member Data Documentation

◆ face

FaceId MR::PointOnFace::face

mesh's face containing the point

◆ point

Vector3f MR::PointOnFace::point

a point of the mesh's face


The documentation for this struct was generated from the following file: