[vtk-developers] Additions to vtkTriangle

Philippe Pébay philippe.pebay at kitware.com
Tue Feb 19 17:40:35 EST 2013


Yes David; thanks for the suggestion!

I am also thinking of a 3rd addition: GetFirstEdgeNeighbor(), which would
only return one vtkIdType (as opposed to a vtkIdList) and would be
sufficient in the many cases where the triangles are located on a manifold
variety, be it immersed in 2 or 3 dimensions.

P


On Tue, Feb 19, 2013 at 5:33 PM, David Thompson
<david.thompson at kitware.com>wrote:

> 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
>
>


-- 
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 <http://www.kitware.fr/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20130219/d36f416e/attachment.html>


More information about the vtk-developers mailing list