Herror ::get_lines_xld (
    Hobject Polygon,
    HTuple *BeginRow,
    HTuple *BeginCol,
    HTuple *EndRow,
    HTuple *EndCol,
    HTuple *Length,
    HTuple *Phi
)
HTuple HXLDPoly::GetLinesXld (
    HTuple *BeginCol,
    HTuple *EndRow,
    HTuple *EndCol,
    HTuple *Length,
    HTuple *Phi
) const
HTuple HXLDPolyArray::GetLinesXld (
    HTuple *BeginCol,
    HTuple *EndRow,
    HTuple *EndCol,
    HTuple *Length,
    HTuple *Phi
) const

Return an XLD polygon's data (as lines).

::get_lines_xld returns the XLD polygon Polygon as a set of lines. The following values are returned:

  BeginRow:   Row coordinates of the lines' start points
  BeginCol:   Column coordinates of the lines' start points
  EndRow:     Row coordinates of the lines' end points
  EndCol:     Column coordinates of the lines' end points
  Length:     Lengths of the line segments
  Phi:        Angles of the line segments


Parameters

Polygon (input_object)
xld_poly(-array) -> Hobject: HXLDPoly(Array)
Input XLD polygons.

BeginRow (output_control)
line.begin.y-array -> HTuple.double *
Row coordinates of the lines' start points.

BeginCol (output_control)
line.begin.x-array -> HTuple.double *
Column coordinates of the lines' start points.

EndRow (output_control)
line.end.y-array -> HTuple.double *
Column coordinates of the lines' end points.

EndCol (output_control)
line.end.x-array -> HTuple.double *
Column coordinates of the lines' end points.

Length (output_control)
real-array -> HTuple.double *
Lengths of the line segments.

Phi (output_control)
angle.rad-array -> HTuple.double *
Angles of the line segments.


Possible Predecessors

::gen_polygons_xld


Alternatives

::get_polygon_xld


Module

Sub-pixel operators



Copyright © 1996-2002 MVTec Software GmbH