MeshLib
 
Loading...
Searching...
No Matches
MR::PointOnObject Struct Reference

#include <MRPointOnObject.h>

Public Member Functions

 PointOnObject ()
 
 operator PointOnFace () const
 

Public Attributes

Vector3f point
 3D location on the object in local coordinates
 
float zBuffer { 1.0f }
 z buffer value
 
union { 
 
   int   primId = -1 
 
   FaceId   face 
 
   UndirectedEdgeId   uedge 
 
   VertId   vert 
 
};  
 to which primitive that point pertains
 

Constructor & Destructor Documentation

◆ PointOnObject()

MR::PointOnObject::PointOnObject ( )
inline

Member Function Documentation

◆ operator PointOnFace()

MR::PointOnObject::operator PointOnFace ( ) const
inlinenodiscard

Member Data Documentation

◆ [union]

union { ... } MR::PointOnObject

to which primitive that point pertains

◆ face

FaceId MR::PointOnObject::face

◆ point

Vector3f MR::PointOnObject::point

3D location on the object in local coordinates

◆ primId

int MR::PointOnObject::primId = -1

◆ uedge

UndirectedEdgeId MR::PointOnObject::uedge

◆ vert

VertId MR::PointOnObject::vert

◆ zBuffer

float MR::PointOnObject::zBuffer { 1.0f }

z buffer value


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