ObjectSet.addPlanarNeighbours


addPlanarNeighbours(angularTolerance, externalOnly)

Adds to this set all the neighbouring objects that are in the same plane, within a given tolerance. The effect is recursive, so selecting any one surface on a sphere, and then calling this routine, will select all the surfaces on that sphere, assuming the tolerance is loose enough.

angularTolerancedoubleAcceptable angle between neighbours
externalOnlybooleanIf true, surfaces between two volumes will be ignored
Return valuePointer to this objectAllows multiple function calls to be chained together

Back to ObjectSet

Back to Overview