Skip to content

get_lines_xldGetLinesXldGetLinesXldget_lines_xldT_get_lines_xld🔗

Short description🔗

get_lines_xldGetLinesXldGetLinesXldget_lines_xldT_get_lines_xld — Return an XLD polygon’s data (as lines).

Signature🔗

get_lines_xld( xld_poly Polygon, out line.begin.y BeginRow, out line.begin.x BeginCol, out line.end.y EndRow, out line.end.x EndCol, out real Length, out angle.rad Phi )void GetLinesXld( const HObject& Polygon, HTuple* BeginRow, HTuple* BeginCol, HTuple* EndRow, HTuple* EndCol, HTuple* Length, HTuple* 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 )def get_lines_xld( polygon: HObject ) -> Tuple[Sequence[float], Sequence[float], Sequence[float], Sequence[float], Sequence[float], Sequence[float]]

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

void HXLDPoly::GetLinesXld( HTuple* BeginRow, HTuple* BeginCol, HTuple* EndRow, HTuple* EndCol, HTuple* Length, HTuple* Phi ) const

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

Description🔗

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

 
BeginRowbeginRowbegin_row: Rows coordinates of the lines’ start points
BeginColbeginColbegin_col: Columns coordinates of the lines’ start points
EndRowendRowend_row: Row coordinates of the lines’ end points
EndColendColend_col: Column coordinates of the lines’ end points
Lengthlengthlength: Lengths of the line segments
Phiphiphi: Angles to the normal vectors of the line segments

Execution information🔗

Execution information
  • Multithreading type: reentrant (runs in parallel with non-exclusive operators).

  • Multithreading scope: global (may be called from any thread).

  • Automatically parallelized on tuple level.

Parameters🔗

Polygonpolygonpolygon (input_object) xld_poly(-array) → objectHObjectHXLDPolyHObjectHobject

Input XLD polygons.

BeginRowbeginRowbegin_row (output_control) line.begin.y-array → (real)HTuple (double)HTuple (double)Sequence[float]Htuple (double)

Row coordinates of the lines’ start points.

BeginColbeginColbegin_col (output_control) line.begin.x-array → (real)HTuple (double)HTuple (double)Sequence[float]Htuple (double)

Column coordinates of the lines’ start points.

EndRowendRowend_row (output_control) line.end.y-array → (real)HTuple (double)HTuple (double)Sequence[float]Htuple (double)

Column coordinates of the lines’ end points.

EndColendColend_col (output_control) line.end.x-array → (real)HTuple (double)HTuple (double)Sequence[float]Htuple (double)

Column coordinates of the lines’ end 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_polygon_xldGetPolygonXld

Module🔗

Foundation