Skip to content

get_polygon_xldGetPolygonXldGetPolygonXldget_polygon_xldT_get_polygon_xld🔗

Short description🔗

get_polygon_xldGetPolygonXldGetPolygonXldget_polygon_xldT_get_polygon_xld — Return an XLD polygon’s data.

Signature🔗

get_polygon_xld( xld_poly Polygon, out point.y Row, out point.x Col, out real Length, out angle.rad Phi )void GetPolygonXld( const HObject& Polygon, HTuple* Row, HTuple* Col, HTuple* Length, HTuple* Phi )static void HOperatorSet.GetPolygonXld( HObject polygon, 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]]

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

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

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

Description🔗

get_polygon_xldGetPolygonXld returns the following values of the XLD polygon Polygonpolygonpolygon:

 
Rowrowrow Row coordinates of the polygons’ points
Colcolcol Column coordinates of the polygons’ points
Lengthlengthlength Lengths of the line segments between points \(i\) and \(i+1\), respectively
Phiphiphi Angles to the normal vectors of the line segments between points \(i\) and \(i+1\), respectively

Execution information🔗

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🔗

Polygonpolygonpolygon (input_object) xld_poly → objectHObjectHXLDPolyHObjectHobject

Input XLD polygon.

Rowrowrow (output_control) point.y-array → (real)HTuple (double)HTuple (double)Sequence[float]Htuple (double)

Row coordinates of the polygons’ points.

Colcolcol (output_control) point.x-array → (real)HTuple (double)HTuple (double)Sequence[float]Htuple (double)

Column coordinates of the polygons’ points.

Lengthlengthlength (output_control) real-array → (real)HTuple (double)HTuple (double)Sequence[float]Htuple (double)

Lengths of the line segments.

Phiphiphi (output_control) angle.rad-array → (real)HTuple (double)HTuple (double)Sequence[float]Htuple (double)

Angles to the normal vectors of the line segments.

Combinations with other operators🔗

Combinations

Possible predecessors

gen_polygons_xldGenPolygonsXld

Alternatives

get_lines_xldGetLinesXld

Module🔗

Foundation