Subject: CGAL users discussion list
List archive
- 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.
- [cgal-discuss] A mistake in linear_least_squares_fitting_3?, 杨成林, 02/13/2009
- Re: [cgal-discuss] A mistake in linear_least_squares_fitting_3?, Pierre Alliez, 02/13/2009
- Re: [cgal-discuss] A mistake in linear_least_squares_fitting_3?, 杨成林, 02/16/2009
- Re: [cgal-discuss] A mistake in linear_least_squares_fitting_3?, Pierre Alliez, 02/16/2009
- Re: [cgal-discuss] A mistake in linear_least_squares_fitting_3?, 杨成林, 02/17/2009
- Re: [cgal-discuss] A mistake in linear_least_squares_fitting_3?, 杨成林, 02/17/2009
- Re: [cgal-discuss] A mistake in linear_least_squares_fitting_3?, Pierre Alliez, 02/23/2009
- Re:Re: [cgal-discuss] A mistake in linear_least_squares_fitting_3?, null, 02/18/2009
- Re: [cgal-discuss] A mistake in linear_least_squares_fitting_3?, Pierre Alliez, 02/16/2009
- Re: [cgal-discuss] A mistake in linear_least_squares_fitting_3?, 杨成林, 02/16/2009
- Re:[cgal-discuss] A mistake in linear_least_squares_fitting_3?, null, 02/14/2009
- Re: [cgal-discuss] A mistake in linear_least_squares_fitting_3?, Pierre Alliez, 02/13/2009
Archive powered by MHonArc 2.6.16.