gen_region_hline — 将以黑塞法线式(Hesse normal form)描述的输入线存储为区域。
gen_region_hline( : Regions : Orientation, Distance : )
算子 gen_region_hline stores the lines described in Hesse
normal form as regions. A line is determined by the distance from the line
to the origin (Distance, corresponds to the length of the normal
vector) and the direction of the normal vector (Orientation,
corresponds to the orientation of the line ).
The directions were defined in such a way that
at Orientation = 0 the normal vector lies in the direction of
the X axis, which corresponds to a vertical line.
At Orientation =
the normal vector points in the direction
of the Y axis, i.e. a horizontal line is described.
The lines are clipped to the current maximum image format.
Regions (输出对象) region(-array) → object
Created regions (one for every line), clipped to maximum image format.
元素数量: Regions == Distance
Orientation (输入控制) hesseline.angle.rad(-array) → (real / integer)
Orientation of the normal vector in radians.
元素数量: Orientation == Distance
默认值: 0.0
建议值: -0.78, 0.0, 0.78, 1.57
值范围:
Orientation
(lin)
建议增量: 0.02
Distance (输入控制) hesseline.distance(-array) → (real / integer)
Distance from the line to the coordinate origin (0.0).
默认值: 200
建议值: 10, 50, 100, 200, 300, 400
值范围:
Distance
(lin)
建议增量: 1
算子 gen_region_hline 始终返回值 2 ( H_MSG_TRUE )。
基础