get_lines_xldT_get_lines_xldGetLinesXldGetLinesXldget_lines_xld (Operator)
Name
get_lines_xldT_get_lines_xldGetLinesXldGetLinesXldget_lines_xld
— Return an XLD polygon's data (as lines).
Signature
void GetLinesXld(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
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)
def get_lines_xld(polygon: HObject) -> Tuple[Sequence[float], Sequence[float], Sequence[float], Sequence[float], Sequence[float], Sequence[float]]
Description
get_lines_xldget_lines_xldGetLinesXldGetLinesXldget_lines_xld
returns the XLD polygon PolygonPolygonPolygonpolygonpolygon
as a set of lines. The following values are returned:
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
PolygonPolygonPolygonpolygonpolygon
(input_object) xld_poly(-array) →
objectHXLDPolyHObjectHObjectHobject
Input XLD polygons.
BeginRowBeginRowBeginRowbeginRowbegin_row
(output_control) line.begin.y-array →
HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)
Row coordinates of the lines' start points.
BeginColBeginColBeginColbeginColbegin_col
(output_control) line.begin.x-array →
HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)
Column coordinates of the lines' start points.
EndRowEndRowEndRowendRowend_row
(output_control) line.end.y-array →
HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)
Column coordinates of the lines' end points.
EndColEndColEndColendColend_col
(output_control) line.end.x-array →
HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)
Column coordinates of the lines' end 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_polygon_xldget_polygon_xldGetPolygonXldGetPolygonXldget_polygon_xld
Module
Foundation