get_polygon_xldT_get_polygon_xldGetPolygonXldGetPolygonXldget_polygon_xld (算子名称)

名称

get_polygon_xldT_get_polygon_xldGetPolygonXldGetPolygonXldget_polygon_xld — Return an XLD polygon's data.

参数签名

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]]

描述

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 to the normal vectors of the line segments between points i and i+1, respectively

运行信息

参数表

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 to the normal vectors of the line segments.

可能的前置算子

gen_polygons_xldgen_polygons_xldGenPolygonsXldGenPolygonsXldGenPolygonsXldgen_polygons_xld

可替代算子

get_lines_xldget_lines_xldGetLinesXldGetLinesXldGetLinesXldget_lines_xld

模块

Foundation