Exemplo n.º 1
0
void ForceValidityVisitor::visit( TriangulatedSurface& g )
{
    g.forceValidityFlag( valid_ );
    for ( size_t i = 0; i < g.numGeometries(); i++ ) {
        visit( g.geometryN( i ) );
    }
}
Exemplo n.º 2
0
void GetPointsVisitor::visit( const TriangulatedSurface& g )
{
    for ( size_t i = 0; i < g.numGeometries(); i++ ) {
        visit( g.geometryN( i ) );
    }
}
Exemplo n.º 3
0
void AffineTransform3::transform( TriangulatedSurface& surf )
{
    for ( size_t i = 0; i < surf.numGeometries(); ++i ) {
        transform( surf.geometryN( i ) );
    }
}
void ConsistentOrientationBuilder::addTriangulatedSurface( const TriangulatedSurface& triangulatedSurface )
{
    for ( size_t i = 0; i < triangulatedSurface.numGeometries(); i++ ) {
        addTriangle( triangulatedSurface.geometryN( i ) ) ;
    }
}