Subject: CGAL users discussion list
List archive
[cgal-discuss] Getting Triangulation::Full_cell_handle from Triangulation::Finite_full_cell_iterator
Chronological Thread
- From: Muthukumaran Chandrasekaran <>
- To:
- Subject: [cgal-discuss] Getting Triangulation::Full_cell_handle from Triangulation::Finite_full_cell_iterator
- Date: Tue, 21 Feb 2017 19:23:01 -0500
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:UJnzgxZQ3HFaUwtIUKBpNd7/LSx+4OfEezUN459isYplN5qZr82+bnLW6fgltlLVR4KTs6sC0LuL9fm9EjZcqb+681k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRoLerpBIHSk9631+ev8JHPfglEnjSwbLdyIRmssAnctsYajZVtJ60s1hbHv3xEdvhMy2h1P1yThRH85smx/J5n7Stdvu8q+tBDX6vnYak2VKRUAzs6PW874s3rrgTDQhCU5nQASGUWkwFHDBbD4RrnQ5r+qCr6tu562CmHIc37SK0/VDq+46t3ThLjlSEKPCM7/m7KkMx9lKJVrhyiqRJi3YDbfJqYO+Bicq7HZ94WWXZNU8RXWidcAo28dYwPD+8ZMOhfson9u1sOrQa9BQmxAePg0CVIiWXw3aYnzekhERvJ3Ao9ENIUqnvUt8v6NKQIXuCv1qbIyyjIYvRT2Tf+8ojHaBYhreyIUL9zccfc0kYvFwbfgVWRrYzpJS+a1uMIs2WC6edrSOyhi2kiqw5rozivwN8hiozUhoIJylDE6Dl2wIYvKt2+VUF7e8SrEIBOuCGZLYR2WNktQ2dytCkmzb0GvJi2dzUJxpQ/3xPSafOKf5KV7h79VOudOzR1iGx/dL6ihRu/8E6twfDmWMauylZFtC9Fn8HMtn8T0xzT7dCKSv5n8Ueg3TaDzgfT6v1YLUwtm6rXNpwsz78qmpoctkTDGSD2mEHog6OMakok/e2o5/zmYrXguJCcK5d5hwPxP6g0h8CzH+Q1PhINUmSF4+iwyb/u8EzhTLVPlPI2k63ZsJ7AJcQco660GwpV0oU56xmlCTeqzdAVkHoHIV9edxKHipLmO1DKIPziEfi/hFGsnC9xx//aJr3hHonNLn/bnbj9crZy8UpcxBMuwtBe/JJbFqwBIOnoWkLqr9zZDho5MxSuzOr9CdV90JkeWWOVDaODPqPSqwzA2uV6KOaFYMoZuS32NuM+z//ol34w31EHLoez2p5CTW2kHullPkCQe3PqyvwBGGEGpAMlQe/jklSEGWpWZGy7WftttmwTB4evDIOFTYeo1u/SlBynF4FbMzgVQmuHFm3lIt2J
Dear all,
I am trying to get a Triangulation::Full_cell_handle of a finite full cell from Triangulation::Finite_full_cell_iterator. I will be using the full cell handle later for other computations. Please see my code below. Thanks
vector<Point_d> points_d;
const int D = 3;
//Initializing the points in the convex hull of the original simplex
for(int kk = 0 ; kk<D; kk++){
std::vector<float> dims;
for(int kkk=0;kkk<D;kkk++){
dims.push_back( kk==kkk ? 1.0 :0.0);
}
points_d.push_back(Point_d(dims.begin(),dims.end()));
}
//Create a full Triangulation and insert the points defined previously
Triangulation t(D); // create triangulation
CGAL_assertion(t.empty());
t.insert(points_d.begin(), points_d.end());
CGAL_assertion( t.is_valid() );
Triangulation::Full_cell_handle fc;
for(Triangulation::Finite_full_cell_iterator it=t.finite_full_cells_begin(); it!=t.finite_full_cells_end(); it++){
cout<<"found finite cell"<<endl;
}
--
--
Muthukumaran Chandrasekaran
Department of Computer Science
University of Georgia
Phone: 7062472873
Department of Computer Science
University of Georgia
Phone: 7062472873
Website: http://muthuchandrasekaran.com
- [cgal-discuss] Getting Triangulation::Full_cell_handle from Triangulation::Finite_full_cell_iterator, Muthukumaran Chandrasekaran, 02/22/2017
Archive powered by MHonArc 2.6.18.