libsurf
Programmer's Documentation

Public Member Functions | Private Member Functions | Private Attributes | List of all members
Paver Class Reference

Detailed Description

Generates a triangular mesh by rows.

See Also
InitMesh, CascadeMesh

#include <paver.h>

Collaboration diagram for Paver:
[legend]

Public Member Functions

 Paver (const Surface &s)
 create a paver for surface s
 
void nextRow (const PointList< 2 > &row)
 append a single row of vertices, mesh
 
void nextVRow (Real v, const Vector &up)
 append a single row of vertices, mesh
 
void fan (const Vct2 &ctr)
 generate a fan as the last row
 
const PointList< 2 > & vertices () const
 access result
 
const Indices & triangles () const
 access result
 
void exportMesh (TriMesh &msh)
 convenience interface
 
void clear ()
 clear stored mesh
 

Private Member Functions

bool pickLow (uint ilo, uint ihi) const
 compute tangent to paving front
 
Vct3 eval (uint k) const
 evaluate parameter space vertex
 

Private Attributes

const Surfacesrf
 surface to pave
 
PointList< 2 > ppt
 parameter space points
 
Indices itriangles
 triangle indices into ppt
 
uint loffset
 offset pointer
 
uint hoffset
 

The documentation for this class was generated from the following files:
Generated on Wed Jan 19 2022 03:03:17 for libsurf by   doxygen 1.8.5