Skip to main content

Function: getSphereBoundsInfo()

getSphereBoundsInfo(circlePoints, imageData): SphereBoundsInfo

Returns the bounds, center, radius and top-left/bottom-right coordinates of a sphere for a given circle and imageData. The region of interest will be an accurate approximation of the sphere using the direction vectors from imageData.

Parameters

circlePoints: [Point3, Point3]

Bottom and top points of the great circle in world coordinates

imageData: vtkImageData

Volume imageData

Returns

SphereBoundsInfo

Defined in

tools/src/utilities/getSphereBoundsInfo.ts:70