create_drawing_object_circle_sector — Create a circle sector which can be modified interactively.
create_drawing_object_circle_sector creates a circle sector region which can
be modified interactively in a HALCON window by the user. The circle sector
is defined by the coordinates
Column of the center point, the
Radius, and the start and end angle
These parameters can be queried any time with
as well as its corresponding HALCON object with
In addition to those parameters, every drawing object has a number of
parameters which determine the appearance of the object in the HALCON window.
set_drawing_object_params for details on the number and meaning
of those parameters.
In order to enable the interactive modification with the drawing object, the
object must be attached to an existing window. See
for further details.
Once attached, the circle is editable by the user through interaction
with the window.
There are three possible transformations for a circle sector object:
resizing, displacement and changing the arc angle.
Radius of the circle can be modified by dragging the circular arc.
By clicking on the center, the circle sector can be moved across the
HALCON window. The angle arc can be modified by dragging the handles of the
In contrast to the operator
draw_circle, this interaction does not block the
This operator returns a handle. Note that the state of an instance of this handle type may be changed by specific operators even though the handle is used as an input parameter by those operators.
Row coordinate of the center.
Default value: 100
Column coordinate of the center.
Default value: 100
Radius of the circle.
Default value: 80
Start angle of the arc.
Default value: 0
End angle of the arc.
Default value: 3.14159
Handle of the drawing object.
If the parameter values are correct the operator
create_drawing_object_circle_sector returns the value 2 (H_MSG_TRUE).
Otherwise an exception is raised.