PrimitiveFittingType
Primitive fitting types. Defines the types of geometric primitives that can be fitted to surfaces or masks. Available values: - Point: Fit a point. - Line: Fit a line. - Circle: Fit a circle. - Sphere: Fit a sphere. - Ellipsoid: Fit an ellipsoid. - Cylinder: Fit a cylinder. - Plane: Fit a plane. - Cuboid: Fit a cuboid.
Import
import ScriptingApi as api
# Access the class
# PrimitiveFittingType is available via api.PrimitiveFittingType
Enumeration Values
Enumeration Type from PrimitiveFittingType
| Value | Description |
|---|---|
PrimitiveFittingType.Point | Point option |
PrimitiveFittingType.Line | Line option |
PrimitiveFittingType.Circle | Circle option |
PrimitiveFittingType.Sphere | Sphere option |
PrimitiveFittingType.Ellipsoid | Ellipsoid option |
PrimitiveFittingType.Cylinder | Cylinder option |
PrimitiveFittingType.Plane | Plane option |
PrimitiveFittingType.Cuboid | Cuboid option |
Usage Example
import ScriptingApi as api
# Access enumeration values
value = api.PrimitiveFittingType.Point