Skip to content

zen_api/lm/acquisition/v2/region_contour.proto#

Version: 2026.5.1

Package: zen_api.lm.acquisition.v2

Download proto source

Message RegionContour#

General data contract for all region contour types.

Field Number Type Presence Description
name 1 string singular The region contour name.
region_ellipse 10 zen_api.lm.acquisition.v2.RegionEllipse oneof subtype
region_rectangle 11 zen_api.lm.acquisition.v2.RegionRectangle oneof subtype
region_polygon 12 zen_api.lm.acquisition.v2.RegionPolygon oneof subtype

Message RegionEllipse#

Represents an elliptical region defined by a bounding rectangle.

Field Number Type Presence Description
bounding_box 1 zen_api.lm.acquisition.v2.RegionRect singular The rectangle that defines the bounding box of the ellipse.
The ellipse is fully contained within this rectangle.
The ZenApi.LM.Acquisition.V2.RegionRect specifies the position and size of the bounding rectangle
using four values: X (left), Y (top), Width, and Height.
For example, a rectangle with X = 10, Y = 20, Width = 100, and Height = 50
defines an ellipse centered at (60, 45) with a horizontal radius of 50 and a vertical radius of 25.

Message RegionPolygon#

Represents a polygonal region defined by an ordered list of vertices.

Field Number Type Presence Description
points 1 zen_api.lm.acquisition.v2.RegionPoint repeated The ordered list of ZenApi.LM.Acquisition.V2.RegionPoint instances that define the vertices of the polygon.
Each point specifies an (X, Y) coordinate in the region's coordinate space.
The polygon is formed by connecting each consecutive point in the list, and finally connecting the last point back to the first to close the shape.

Message RegionRectangle#

Represents a rectangular region within the scan area.

Field Number Type Presence Description
rectangle 1 zen_api.lm.acquisition.v2.RegionRect singular The ZenApi.LM.Acquisition.V2.RegionRect that defines the position and size of the rectangular region
within the scan area.