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

get_polygon_xldT_get_polygon_xldget_polygon_xldGetPolygonXldGetPolygonXld (Operator)

Name

get_polygon_xldT_get_polygon_xldget_polygon_xldGetPolygonXldGetPolygonXld — Return an XLD polygon's data.

Signature

get_polygon_xld(Polygon : : : Row, Col, Length, Phi)

Herror T_get_polygon_xld(const Hobject Polygon, Htuple* Row, Htuple* Col, Htuple* Length, Htuple* Phi)

Herror get_polygon_xld(Hobject Polygon, HTuple* Row, HTuple* Col, HTuple* Length, HTuple* Phi)

HTuple HXLDPoly::GetPolygonXld(HTuple* Col, HTuple* Length, HTuple* Phi) const

void HOperatorSetX.GetPolygonXld(
[in] IHUntypedObjectX* Polygon, [out] VARIANT* Row, [out] VARIANT* Col, [out] VARIANT* Length, [out] VARIANT* Phi)

VARIANT HXLDPolyX.GetPolygonXld(
[out] VARIANT* Col, [out] VARIANT* Length, [out] VARIANT* Phi)

static void HOperatorSet.GetPolygonXld(HObject polygon, out HTuple row, out HTuple col, out HTuple length, out HTuple phi)

void HXLDPoly.GetPolygonXld(out HTuple row, out HTuple col, out HTuple length, out HTuple phi)

Description

get_polygon_xldget_polygon_xldget_polygon_xldGetPolygonXldGetPolygonXld returns the following values of the XLD polygon PolygonPolygonPolygonPolygonpolygon:

  Row:     Row coordinates of the polygons' points
  Col:     Column coordinates of the polygons' points
  Length:  Lengths of the line segments between points i and i+1, respectively
  Phi:     Angles of the line segments between points i and i+1, respectively

Parallelization

Parameters

PolygonPolygonPolygonPolygonpolygon (input_object)  xld_poly objectHXLDPolyHXLDPolyHXLDPolyXHobject

Input XLD polygon.

RowRowRowRowrow (output_control)  point.y-array HTupleHTupleVARIANTHtuple (real) (double) (double) (double) (double)

Row coordinates of the polygons' points.

ColColColColcol (output_control)  point.x-array HTupleHTupleVARIANTHtuple (real) (double) (double) (double) (double)

Column coordinates of the polygons' 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_lines_xldget_lines_xldget_lines_xldGetLinesXldGetLinesXld

Module

Foundation


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