[vtk-developers] vtkPentagonalPrism Bug
Andrew Maclean
andrew.amaclean at gmail.com
Mon Jun 8 03:59:42 EDT 2015
Hi Bill,
Just guessing.
Could it be that the pentagonal faces have to be regular for this sort of
formula to work? I.e. the five points defining the pentagonal face must lie
on a circle and be equidistant from each other.
Regards
Andrew
> ---------- Forwarded message ----------
> From: Bill Lorensen <bill.lorensen at gmail.com>
> To: VTK Developers <vtk-developers at vtk.org>
> Cc: Mathieu Malaterre <mathieu.malaterre at gmail.com>
> Date: Sat, 6 Jun 2015 12:48:14 -0400
> Subject: [vtk-developers] vtkPentagonalPrism Bug
> Folks,
>
> I've been working on a Unit test for linear cells. So far I have found
> a few bugs that I could easily fix.
>
> My testing has uncovered a problem with vtkPentagonalPrism that I
> cannot fix on my own.
>
> If I compute the real center from the parametric center, the real
> center is not within the bounds of the cell. This is the only cell
> that fails this test.
>
> I have attached a small program and cmake file that illustrates the
problem.
>
> Bill
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20150608/c35d3736/attachment.html>
More information about the vtk-developers
mailing list