API Documentation
Loading...
Searching...
No Matches
LineIterator< t_dims, t_type > Class Template Reference

A class to easily iterate each line segment over a Geometry of lines. More...

#include <Geometry.h>

Collaboration diagram for LineIterator< t_dims, t_type >:
[legend]

Public Member Functions

 LineIterator (PrimitiveProperty primitive_property, VertexProperty vertex_property, Geometry geo)
 
LineSegment< t_dims, t_type > operator[] (uint04 index) const
 
uint04 size () const
 
Vector< 2, uint04vertexIndex (uint04 index) const
 

Protected Member Functions

bool isHidden (uint04 index) const
 
Vector< 2, uint04rawIndex (uint04 index) const
 

Protected Attributes

const TableColumnm_flag_column
 
uint04 m_primitive_count
 
Geometry::OptimizedPrimitiveDef m_primitive_def
 
const TableColumnm_vertex_column
 
const uint04 m_vertex_offset
 
VertexProperty m_vertex_property
 

Detailed Description

template<uint01 t_dims, class t_type>
class NDEVR::LineIterator< t_dims, t_type >

A class to easily iterate each line segment over a Geometry of lines.


Constructor & Destructor Documentation

◆ LineIterator()

template<uint01 t_dims, class t_type >
LineIterator ( PrimitiveProperty primitive_property,
VertexProperty vertex_property,
Geometry geo )
inline

Member Function Documentation

◆ isHidden()

template<uint01 t_dims, class t_type >
bool isHidden ( uint04 index) const
inlineprotected

◆ operator[]()

template<uint01 t_dims, class t_type >
LineSegment< t_dims, t_type > operator[] ( uint04 index) const
inline

◆ rawIndex()

template<uint01 t_dims, class t_type >
Vector< 2, uint04 > rawIndex ( uint04 index) const
inlineprotected

◆ size()

template<uint01 t_dims, class t_type >
uint04 size ( ) const
inline

◆ vertexIndex()

template<uint01 t_dims, class t_type >
Vector< 2, uint04 > vertexIndex ( uint04 index) const
inline

Member Data Documentation

◆ m_flag_column

template<uint01 t_dims, class t_type >
const TableColumn& m_flag_column
protected

◆ m_primitive_count

template<uint01 t_dims, class t_type >
uint04 m_primitive_count
protected

◆ m_primitive_def

template<uint01 t_dims, class t_type >
Geometry::OptimizedPrimitiveDef m_primitive_def
protected

◆ m_vertex_column

template<uint01 t_dims, class t_type >
const TableColumn& m_vertex_column
protected

◆ m_vertex_offset

template<uint01 t_dims, class t_type >
const uint04 m_vertex_offset
protected

◆ m_vertex_property

template<uint01 t_dims, class t_type >
VertexProperty m_vertex_property
protected

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