Version: 
Back to list

Algo :: getFittingSphere

Synopsis

   Returns the fitting sphere of a set of occurrences

GUI Dialog

   

Script function

   algo.getFittingSphere(occurrences[, useAABB]) -> affine

Parameters

   occurrences (OccurrenceList) : Occurrences to fit
   useAABB (Boolean[optional] : If true use the global Axis Aligned Bounding Box (AABB), else use an Oriented Bounding Box (OBB only based on transformed AABB of occurrences)

Return value

   affine (Affine) : Affine transformation of the sphere