[Namespaces changes]

edge->edg
trimesh->tri

clean up of some namespaces to comply the following naming:

Complexes (3 letters namespaces):
order 0 (point cloud    ) :vrt
order 1 (edge meshes)     :edg
order 2 (triangle meshes) :tri
order 3 (triangle meshes) :tet

Simplexes (extended namespaces):
order 0 (vertex)      :vertex 
order 1 (edge)        :edge 
order 2 (triangle)    :triangle (temporarily it remains "face")
order 3 (tetrahedron) :tetrahedron
This commit is contained in:
ganovelli 2008-09-30 10:49:09 +00:00
parent cec96ba260
commit 9143a0d389
1 changed files with 2 additions and 2 deletions

View File

@ -140,7 +140,7 @@ namespace vcg
bool lastRound ;
if(em.vn){
vcg::edge::UpdateBounding<EdgeMeshType>::Box(em);
vcg::edg::UpdateBounding<EdgeMeshType>::Box(em);
//Grid().SetBBox(em.bbox);
std::vector<PVertex> pv;
@ -162,7 +162,7 @@ namespace vcg
(*pvi).v->SetD();
ScalarType max_dist=em.bbox.Diag();
ScalarType min_dist = 0;
p = (vcg::trimesh::GetClosestVertex<EdgeMeshType, GridType>( em, Grid(), vpos,
p = (vcg::tri::GetClosestVertex<EdgeMeshType, GridType>( em, Grid(), vpos,
max_dist, min_dist))->P();
//closest = Grid().GetClosest<BackCompDist,Marker>(vpos, max_dist, BackCompDist(), eps, p,tm);