Version: 
Back to list

Algo :: getFittingCylinder

Synopsis

   Returns the fitting cylinder of a set of occurrences (based on OBB)

GUI Dialog

   

Script function

   algo.getFittingCylinder(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 cylinder