Example #1
0
void ForceValidityVisitor::visit( TriangulatedSurface& g )
{
    g.forceValidityFlag( valid_ );
    for ( size_t i = 0; i < g.numGeometries(); i++ ) {
        visit( g.geometryN( i ) );
    }
}
Example #2
0
void GetPointsVisitor::visit( const TriangulatedSurface& g )
{
    for ( size_t i = 0; i < g.numGeometries(); i++ ) {
        visit( g.geometryN( i ) );
    }
}
Example #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 ) ) ;
    }
}