[vtkusers] The maximum diameter of an irregular object

Bill Lorensen bill.lorensen at gmail.com
Tue Dec 29 16:35:33 EST 2015


If you want to compute the bounding sphere
https://en.wikipedia.org/wiki/Bounding_sphere then look at this test
code:

Common/DataModel/Testing/Cxx/TestComputeBoundingSphere.cxx


On Tue, Dec 29, 2015 at 7:09 AM, David Cole via vtkusers
<vtkusers at vtk.org> wrote:
> It is not clear what you mean by "maximum diameter of an irregular
> object".... Can you describe what you're trying to measure more precisely
> than that?
>
> A diameter is an attribute of a circle or a sphere, not an irregular object.
> And the closest thing to a "maximum diameter" of an object other than a
> circle/sphere is typically the diagonal of its bounding box.
>
> But it sounds like you probably mean something different than that, but it's
> unclear exactly what...
>
>
> On Monday, December 28, 2015, Emptystack <wulihouxiaoshuai at 163.com> wrote:
>>
>> Hello everyone,
>>
>>    I want to compute the the maximum diamter of an irregular object using
>> VTK, but I cannot find a proper way to do it after days of work. Does
>> anyone
>> know how to do this? Have anyone can give me some advice?
>>
>> Many thanks!
>> Best Wishes!
>>
>>
>>
>> --
>> View this message in context:
>> http://vtk.1045678.n5.nabble.com/The-maximum-diameter-of-an-irregular-object-tp5735653.html
>> Sent from the VTK - Users mailing list archive at Nabble.com.
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Search the list archives at: http://markmail.org/search/?q=vtkusers
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/vtkusers
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>



-- 
Unpaid intern in BillsBasement at noware dot com


More information about the vtkusers mailing list