Operator Reference

get_polygon_xldT_get_polygon_xldGetPolygonXldGetPolygonXldget_polygon_xld (Operator)

get_polygon_xldT_get_polygon_xldGetPolygonXldGetPolygonXldget_polygon_xld — 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)

void GetPolygonXld(const HObject& Polygon, HTuple* Row, HTuple* Col, HTuple* Length, HTuple* Phi)

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

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)

def get_polygon_xld(polygon: HObject) -> Tuple[Sequence[float], Sequence[float], Sequence[float], Sequence[float]]

Description

get_polygon_xldget_polygon_xldGetPolygonXldGetPolygonXldget_polygon_xld returns the following values of the XLD polygon PolygonPolygonPolygonpolygonpolygon:

RowRowRowrowrow Row coordinates of the polygons' points
ColColColcolcol Column coordinates of the polygons' points
LengthLengthLengthlengthlength Lengths of the line segments between points i and i+1, respectively
PhiPhiPhiphiphi Angles to the normal vectors of the line segments between points i and i+1, respectively

Execution Information

  • Multithreading type: reentrant (runs in parallel with non-exclusive operators).
  • Multithreading scope: global (may be called from any thread).
  • Processed without parallelization.

Parameters

PolygonPolygonPolygonpolygonpolygon (input_object)  xld_poly objectHXLDPolyHObjectHObjectHobject

Input XLD polygon.

RowRowRowrowrow (output_control)  point.y-array HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Row coordinates of the polygons' points.

ColColColcolcol (output_control)  point.x-array HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Column coordinates of the polygons' points.

LengthLengthLengthlengthlength (output_control)  real-array HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Lengths of the line segments.

PhiPhiPhiphiphi (output_control)  angle.rad-array HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Angles to the normal vectors of the line segments.

Possible Predecessors

gen_polygons_xldgen_polygons_xldGenPolygonsXldGenPolygonsXldgen_polygons_xld

Alternatives

get_lines_xldget_lines_xldGetLinesXldGetLinesXldget_lines_xld

Module

Foundation