The CTiglRectGridSurface class represents a collection of faces arranged in a rectangular grid. Optionally, the faces can be annotated using a custom type.
More...
#include <CTiglRectGridSurface.h>
|
class | AnnotatedFace |
| The AnnotatedFace class is used to store a) the connectivity info of a single face in a rectangular grid of faces b) an optional Annotation. More...
|
|
template<typename Annotation = DefaultAnnotation>
class tigl::CTiglRectGridSurface< Annotation >
The CTiglRectGridSurface class represents a collection of faces arranged in a rectangular grid. Optionally, the faces can be annotated using a custom type.
◆ CTiglRectGridSurface() [1/4]
template<typename Annotation = DefaultAnnotation>
◆ CTiglRectGridSurface() [2/4]
template<typename Annotation = DefaultAnnotation>
template<typename... Args>
CTiglRectGridSurface constructs the surface from a shape.
- Parameters
-
shape | a shape containing faces arranged in a rectangular grid |
args | arguments to be forwarded to the Annotation class of each face. |
◆ CTiglRectGridSurface() [3/4]
template<typename Annotation = DefaultAnnotation>
◆ CTiglRectGridSurface() [4/4]
template<typename Annotation = DefaultAnnotation>
◆ connect_faces()
template<typename Annotation = DefaultAnnotation>
◆ GetParameterRanges()
template<typename Annotation = DefaultAnnotation>
void tigl::CTiglRectGridSurface< Annotation >::GetParameterRanges |
( |
std::vector< double > & |
row_ranges, |
|
|
std::vector< double > & |
col_ranges |
|
) |
| |
|
inline |
GetParameterRanges sums all parameter ranges for all rows and columns.
The vector row_ranges will contain the sum of all u-parameter ranges of the faces in the row corresponding to the index in the vector
The vector col_ranges will contain the sum of all v-parameter ranges of the faces in the column corresponding to the index in the vector
- Parameters
-
row_ranges | a reference to a vector for storing the v-parameter ranges |
col_ranges | a reference to a vector for storing the u-parameter ranges |
◆ NCols()
template<typename Annotation = DefaultAnnotation>
NCols number of columns.
- Returns
- number of columns
◆ NRows()
template<typename Annotation = DefaultAnnotation>
NRows number of rows.
- Returns
- number of rows
◆ operator=() [1/2]
template<typename Annotation = DefaultAnnotation>
◆ operator=() [2/2]
template<typename Annotation = DefaultAnnotation>
◆ Root() [1/2]
template<typename Annotation = DefaultAnnotation>
Root returns the root face of the rectangular grid, which is one of its corners.
- Returns
- the root face of the rectangular grid, which is one of its corners
◆ Root() [2/2]
template<typename Annotation = DefaultAnnotation>
◆ SetShape()
template<typename Annotation = DefaultAnnotation>
template<typename... Args>
SetShape sets the shape represented by this instance.
- Parameters
-
shape | a shape containing faces arranged in a rectangular |
args | arguments to be forwarded to the Annotation class of each face. |
◆ face_infos
template<typename Annotation = DefaultAnnotation>
◆ m_sqr_dist_tol
template<typename Annotation = DefaultAnnotation>
◆ ncols
template<typename Annotation = DefaultAnnotation>
◆ nrows
template<typename Annotation = DefaultAnnotation>
◆ root_idx
template<typename Annotation = DefaultAnnotation>
The documentation for this class was generated from the following file: