コード例 #1
0
ファイル: AffineTransform3.cpp プロジェクト: Ezio47/SFCGAL
void AffineTransform3::transform( Solid& solid )
{
    transform( solid.exteriorShell() );

    for ( size_t i = 0; i < solid.numInteriorShells(); ++i ) {
        transform( solid.interiorShellN( i ) );
    }
}
コード例 #2
0
ファイル: minkowskiSum.cpp プロジェクト: hdeeken/SFCGAL
void minkowskiSum( const Solid& gA, const Polygon_2& gB, Polygon_set_2& polygonSet )
{
    //use only the projection of exterior shell
    minkowskiSumCollection( gA.exteriorShell(), gB, polygonSet );
}