Name
get_points_ellipse — Calculate a point of an ellipse corresponding to a specific angle.
get_points_ellipse( : : Angle, Row, Column, Phi, Radius1, Radius2 : RowPoint, ColPoint)
get_points_ellipse returns the point
(RowPoint,ColPoint) on the specified ellipse
corresponding to the angle in Angle, which refers to the
main axis of the ellipse. The ellipse itself is characterized by
the center (Row, Column), the orientation of the
main axis Phi relative to the horizontal axis, the length of
the larger (Radius1) and the smaller half
axis (Radius2). The angles are measured counter clockwise in
radiants.
|
Angle (input_control)
|
real(-array) → (real) |
| Angle corresponding to the resulting point [rad]. |
|
Default value:
0 |
|
Restriction:
(Angle >= 0) && (Angle <= 6.283185307)
|
|
Row (input_control)
|
ellipse.center.y → (real) |
| Row coordinate of the center of the ellipse. |
|
Column (input_control)
|
ellipse.center.x → (real) |
| Column coordinate of the center of the ellipse. |
|
Phi (input_control)
|
ellipse.angle.rad → (real) |
| Orientation of the main axis [rad]. |
|
Restriction:
(Phi >= 0) && (Phi <= 6.283185307)
|
|
Radius1 (input_control)
|
ellipse.radius1 → (real) |
| Length of the larger half axis. |
|
Restriction:
Radius1 > 0
|
|
Radius2 (input_control)
|
ellipse.radius2 → (real) |
| Length of the smaller half axis. |
|
Restriction:
Radius2 >= 0
|
|
RowPoint (output_control)
|
point.y(-array) → (real) |
| Row coordinate of the point on the ellipse. |
|
ColPoint (output_control)
|
point.x(-array) → (real) |
| Column coordinates of the point on the ellipse. |
draw_ellipse(WindowHandle,Row,Column,Phi,Radius1,Radius2)
get_points_ellipse([0,3.14],Row,Column,Phi,Radius1,Radius2,RowPoint,ColPoint)
get_points_ellipse returns 2 (H_MSG_TRUE) if all parameter
values are correct. If necessary, an exception is raised.
get_points_ellipse is reentrant and processed without parallelization.
fit_ellipse_contour_xld,
draw_ellipse,
gen_ellipse_contour_xld
gen_ellipse_contour_xld
Foundation
| Version 9.0.2 |
Copyright © 1996-2010 MVTec Software GmbH |