Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Initializing Vector of Point and Normal Pairs

Subject: CGAL users discussion list

List archive

[cgal-discuss] Initializing Vector of Point and Normal Pairs


Chronological Thread 
  • From: ingfu <>
  • To:
  • Subject: [cgal-discuss] Initializing Vector of Point and Normal Pairs
  • Date: Mon, 12 Dec 2011 03:32:23 -0800 (PST)

Hey,

I was wondering if there exists a more convenient way to initialize a vector
of point and (empty) normal pairs than

std::list<PointVectorPair> pointsnvectors;

int size = point_vector1->size();

for(int i = 0; i<size; i++) {
pointsnvectors.push_back(PointVectorPair(point_vector1->at(i),
Vector_3()));
}


--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Initializing-Vector-of-Point-and-Normal-Pairs-tp4185628p4185628.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.16.

Top of Page