gen_rectangle2_contour_xld🔗
Short description🔗
gen_rectangle2_contour_xld — Create an XLD contour in the shape of a rectangle.
Signature🔗
gen_rectangle2_contour_xld( out xld_cont Rectangle, rectangle2.center.y Row, rectangle2.center.x Column, rectangle2.angle.rad Phi, rectangle2.hwidth Length1, rectangle2.hheight Length2 )
Description🔗
gen_rectangle2_contour_xld creates one or more XLD contours
in the shape of a rectangle with arbitrary orientation. The
rectangle has the center (Row, Column), the
orientation Phi, and the half edge lengths Length1
and Length2. The angle Phi must be given in
radians and specifies the angle between the horizontal axis and the
edge with the half length Length1 in the mathematically
positive direction (counterclockwise).
Parameter Broadcasting🔗
This operator supports parameter broadcasting. This means that each parameter can be given as a tuple of length 1 or N. Parameters with tuple length 1 will be repeated internally such that the number of created items is always N.
Execution information🔗
Execution information
-
Multithreading type: reentrant (runs in parallel with non-exclusive operators).
-
Multithreading scope: global (may be called from any thread).
-
Processed without parallelization.
Parameters🔗
Rectangle (output_object) xld_cont(-array) → object
Rectangle contour.
Row (input_control) rectangle2.center.y(-array) → (real)
Row coordinate of the center of the rectangle.
Default: 300.0
Column (input_control) rectangle2.center.x(-array) → (real)
Column coordinate of the center of the rectangle.
Default: 200.0
Phi (input_control) rectangle2.angle.rad(-array) → (real)
Orientation of the main axis of the rectangle [rad].
Default: 0.0
Restriction: -pi / 2 < Phi && Phi <= pi / 2
Length1 (input_control) rectangle2.hwidth(-array) → (real)
First radius (half length) of the rectangle.
Default: 100.5
Length2 (input_control) rectangle2.hheight(-array) → (real)
Second radius (half width) of the rectangle.
Default: 20.5
Result🔗
gen_rectangle2_contour_xld returns 2 (H_MSG_TRUE) if all parameter
values are correct. If necessary, an exception is raised.
Combinations with other operators🔗
Combinations
Possible predecessors
Alternatives
See also
Module🔗
Foundation