Function: createPolylineShape()
createPolylineShape(
options):VoxelSlabShape
A closed polyline lying in the annotation plane.
Interior is the even-odd rule, so a non-convex polyline or one with holes
yields several runs. A point exactly on the outline is inside it, widened by
SHAPE_BOUNDARY_EPSILON. The test is purely in-plane, and the shape is
planar: it reports a required thickness of 0, and the caller's
referencePlaneThickness alone decides how far the slab reaches along the
normal. The ellipse and the rectangle differ, because each of those carries
its own depth.
See docs/docs/concepts/cornerstone-tools/annotation/voxel-statistics.md.
Parameters
• options: PolylineShapeOptions
Returns
Defined in
packages/core/src/utilities/voxelSlab/shapes/createPolylineShape.ts:56