Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] A mistake in linear_least_squares_fitting_3?

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] A mistake in linear_least_squares_fitting_3?


Chronological Thread 
  • From: 杨成林 <>
  • To:
  • Subject: Re: [cgal-discuss] A mistake in linear_least_squares_fitting_3?
  • Date: Tue, 17 Feb 2009 20:17:28 +0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=E2cP/dyYkMETbWtUM+yIhje99rT4yMAZTaGlA3Em1vjG1bUc52Xw33LC7iQI2HyTnF 5XmHYarj396tGpm+tRtzBEQ603o/V6NFJmt60epHIeE/WsSsg+3dVV7cgkMUCvRE76TY 5zhcir33SBIxGkMRi1re8hEWfIBU0lHCKR02U=

Hello Alliez,

I think the interface could be like this:

void PCA_d( InputIterator first,
InputIterator beyond,
OutputIterator it,
typename K::Point_d& centroid,
K k,
Tag tag);

Here d can be 2 or 3. It just replace the Line_d or Plane_d with an
output iterator.

Besides, In Polyhedra component if you want to add your own items to
the polyhedron,you have to rewrite the item class.It is a formidable
task for a newbie. But it is very easy to add items in OpenMesh.



Archive powered by MHonArc 2.6.16.

Top of Page