[vtk-developers] Additions to vtkTriangle

David Thompson david.thompson at kitware.com
Tue Feb 19 11:33:57 EST 2013


Hi Philippe,

> If nobody objects, I propose to implement these methods later this week.

I think they sound good. Could you name the method Circumcenter() instead of TriangleCircumcenter()? It seems unnecessarily verbose to include the class name in the method name.

	David

> On Tue, Feb 19, 2013 at 12:29 PM, Will Schroeder <will.schroeder at kitware.com> wrote:
> Sounds useful to me.
> W
> 
> 
> On Tue, Feb 19, 2013 at 5:49 AM, Philippe Pébay <philippe.pebay at kitware.com> wrote:
> Hello all,
> 
> I would like to add the following functionality to vtkTriangle:
> 1. A TriangleCircumcenter(), which would compute only the coordinates of the circumcenter to the triangle. With respect to the existing TriangleCircumcircle() method it would be optimized by using an explicit formula and not computing the circumradius.
> 2. A FindOppositePoint() method to retrieve the point opposite to a given edge in the triangle. This is nice convenience to have when repeatedly traversing across triangles via edge-vertex relationships.
> 
> However I would not rather touch the triangle API unless there is consensus about it.
> 
> Thanks
> P
> 
> -- 
> Philippe Pébay, PhD
> Director of Visualization and High Performance Computing /
> Directeur de la Visualisation et du Calcul Haute Performance
> Kitware SAS
> 26 rue Louis Guérin, 69100 Villeurbanne, France
> +33 (0) 6.83.61.55.70 / 4.37.45.04.15
> http://www.kitware.fr 
> _______________________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
> 
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
> 
> 
> 
> 
> 
> -- 
> William J. Schroeder, PhD
> Kitware, Inc.
> 28 Corporate Drive
> Clifton Park, NY 12065
> will.schroeder at kitware.com
> http://www.kitware.com
> (518) 881-4902
> 
> 
> 
> -- 
> Philippe Pébay, PhD
> Director of Visualization and High Performance Computing /
> Directeur de la Visualisation et du Calcul Haute Performance
> Kitware SAS
> 26 rue Louis Guérin, 69100 Villeurbanne, France
> +33 (0) 6.83.61.55.70 / 4.37.45.04.15
> http://www.kitware.fr _______________________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
> 
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
> 

David Thompson
R&D Engineer – Kitware, Inc.
david.thompson at kitware.com
(919)869-8868
Suite G-4
101 E. Weaver St.
Carrboro, NC 27510




More information about the vtk-developers mailing list