Skip to main content

Function: createCircleShape()

createCircleShape(options): VoxelSlabShape

A circle in the annotation plane, or a sphere centred on it.

A convenience wrapper: a circle is an ellipse with equal radii, and any in-plane direction will do for the major axis.

Parameters​

• options

• options.centerWorld: Point3

• options.depthRadius?: number

Supply to make it a sphere rather than a flat disc.

• options.planePoint: Point3

• options.radius: number

• options.viewPlaneNormal: Point3

• options.volume: VolumeGeometry

Returns​

VoxelSlabShape

Defined in​

packages/core/src/utilities/voxelSlab/shapes/createEllipseShape.ts:177