Skip to main content

PrimitiveFittingType

Other

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

ValueDescription
PrimitiveFittingType.PointPoint option
PrimitiveFittingType.LineLine option
PrimitiveFittingType.CircleCircle option
PrimitiveFittingType.SphereSphere option
PrimitiveFittingType.EllipsoidEllipsoid option
PrimitiveFittingType.CylinderCylinder option
PrimitiveFittingType.PlanePlane option
PrimitiveFittingType.CuboidCuboid option

Usage Example​

import ScriptingApi as api

# Access enumeration values
value = api.PrimitiveFittingType.Point

See Also​