get_polygon_xldT_get_polygon_xldGetPolygonXldGetPolygonXldget_polygon_xld (Operator)

Name

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_xldGetPolygonXldGetPolygonXldGetPolygonXldget_polygon_xld returns the following values of the XLD polygon PolygonPolygonPolygonPolygonpolygonpolygon:

RowRowRowRowrowrow Row coordinates of the polygons' points
ColColColColcolcol Column coordinates of the polygons' points
LengthLengthLengthLengthlengthlength Lengths of the line segments between points i and i+1, respectively
PhiPhiPhiPhiphiphi Angles of the line segments between points i and i+1, respectively

Execution Information

Parameters

PolygonPolygonPolygonPolygonpolygonpolygon (input_object)  xld_poly objectHXLDPolyHObjectHXLDPolyHobject

Input XLD polygon.

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

Row coordinates of the polygons' points.

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

Column coordinates of the polygons' points.

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

Lengths of the line segments.

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

Angles of the line segments.

Possible Predecessors

gen_polygons_xldgen_polygons_xldGenPolygonsXldGenPolygonsXldGenPolygonsXldgen_polygons_xld

Alternatives

get_lines_xldget_lines_xldGetLinesXldGetLinesXldGetLinesXldget_lines_xld

Module

Foundation