MeshLib C++ Docs
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   MR::PointOnObject::primId = -1 
 
   FaceId   MR::PointOnObject::face 
 
   UndirectedEdgeId   MR::PointOnObject::uedge 
 for ObjectMesh More...
 
   VertId   MR::PointOnObject::vert 
 for ObjectLines More...
 
};  
 to which primitive that point pertains
 

Detailed Description

point located on either

  1. face of ObjectMesh
  2. line of ObjectLines
  3. point of ObjectPoints

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