get_polygon_xldT_get_polygon_xldGetPolygonXldGetPolygonXldget_polygon_xld(算子)

名称

get_polygon_xldT_get_polygon_xldGetPolygonXldGetPolygonXldget_polygon_xld — 返回 XLD 多边形的数据。

签名

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 (输入对象)  xld_poly objectHXLDPolyHObjectHXLDPolyHobject

Input XLD polygon.

RowRowRowRowrowrow (输出控制)  point.y-array HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Row coordinates of the polygons' points.

ColColColColcolcol (输出控制)  point.x-array HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Column coordinates of the polygons' points.

LengthLengthLengthLengthlengthlength (输出控制)  real-array HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Lengths of the line segments.

PhiPhiPhiPhiphiphi (输出控制)  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

模块

基础