HALCON Reference Manual 10.0.2
Table of Contents / XLD / Access ClassesClassesClasses | | | Operators

get_lines_xldT_get_lines_xldget_lines_xldGetLinesXldGetLinesXld (Operator)

Name

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

Signature

get_lines_xld(Polygon : : : BeginRow, BeginCol, EndRow, EndCol, Length, Phi)

Herror T_get_lines_xld(const Hobject Polygon, Htuple* BeginRow, Htuple* BeginCol, Htuple* EndRow, Htuple* EndCol, Htuple* Length, Htuple* Phi)

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

void HOperatorSetX.GetLinesXld(
[in] IHUntypedObjectX* Polygon, [out] VARIANT* BeginRow, [out] VARIANT* BeginCol, [out] VARIANT* EndRow, [out] VARIANT* EndCol, [out] VARIANT* Length, [out] VARIANT* Phi)

VARIANT HXLDPolyX.GetLinesXld(
[out] VARIANT* BeginCol, [out] VARIANT* EndRow, [out] VARIANT* EndCol, [out] VARIANT* Length, [out] VARIANT* Phi)

static void HOperatorSet.GetLinesXld(HObject polygon, out HTuple beginRow, out HTuple beginCol, out HTuple endRow, out HTuple endCol, out HTuple length, out HTuple phi)

void HXLDPoly.GetLinesXld(out HTuple beginRow, out HTuple beginCol, out HTuple endRow, out HTuple endCol, out HTuple length, out HTuple phi)

Description

get_lines_xldget_lines_xldget_lines_xldGetLinesXldGetLinesXld returns the XLD polygon PolygonPolygonPolygonPolygonpolygon 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

Parallelization

Parameters

PolygonPolygonPolygonPolygonpolygon (input_object)  xld_poly(-array) objectHXLDPolyHXLDPolyHXLDPolyXHobject

Input XLD polygons.

BeginRowBeginRowBeginRowBeginRowbeginRow (output_control)  line.begin.y-array HTupleHTupleVARIANTHtuple (real) (double) (double) (double) (double)

Row coordinates of the lines' start points.

BeginColBeginColBeginColBeginColbeginCol (output_control)  line.begin.x-array HTupleHTupleVARIANTHtuple (real) (double) (double) (double) (double)

Column coordinates of the lines' start points.

EndRowEndRowEndRowEndRowendRow (output_control)  line.end.y-array HTupleHTupleVARIANTHtuple (real) (double) (double) (double) (double)

Column coordinates of the lines' end points.

EndColEndColEndColEndColendCol (output_control)  line.end.x-array HTupleHTupleVARIANTHtuple (real) (double) (double) (double) (double)

Column coordinates of the lines' end points.

LengthLengthLengthLengthlength (output_control)  real-array HTupleHTupleVARIANTHtuple (real) (double) (double) (double) (double)

Lengths of the line segments.

PhiPhiPhiPhiphi (output_control)  angle.rad-array HTupleHTupleVARIANTHtuple (real) (double) (double) (double) (double)

Angles of the line segments.

Possible Predecessors

gen_polygons_xldgen_polygons_xldgen_polygons_xldGenPolygonsXldGenPolygonsXld

Alternatives

get_polygon_xldget_polygon_xldget_polygon_xldGetPolygonXldGetPolygonXld

Module

Foundation


Table of Contents / XLD / Access ClassesClassesClasses | | | Operators
HALCON Reference Manual 10.0.2 Copyright © 1996-2011 MVTec Software GmbH