get_lines_xldT_get_lines_xldGetLinesXldGetLinesXldget_lines_xld (算子)

名称

get_lines_xldT_get_lines_xldGetLinesXldGetLinesXldget_lines_xld — 返回 XLD 多边形的数据(作为线)。

签名

get_lines_xld(Polygon : : : BeginRow, BeginCol, EndRow, EndCol, Length, Phi)

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

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

描述

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

BeginRowBeginRowBeginRowBeginRowbeginRowbegin_row: Rows coordinates of the lines' start points
BeginColBeginColBeginColBeginColbeginColbegin_col: Columns coordinates of the lines' start points
EndRowEndRowEndRowEndRowendRowend_row: Row coordinates of the lines' end points
EndColEndColEndColEndColendColend_col: Column coordinates of the lines' end points
LengthLengthLengthLengthlengthlength: Lengths of the line segments
PhiPhiPhiPhiphiphi: Angles to the normal vectors of the line segments

执行信息

参数

PolygonPolygonPolygonPolygonpolygonpolygon (输入对象)  xld_poly(-array) objectHXLDPolyHObjectHXLDPolyHobject

输入 XLD 多边形。

BeginRowBeginRowBeginRowBeginRowbeginRowbegin_row (输出控制)  line.begin.y-array HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Row coordinates of the lines' start points.

BeginColBeginColBeginColBeginColbeginColbegin_col (输出控制)  line.begin.x-array HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Column coordinates of the lines' start points.

EndRowEndRowEndRowEndRowendRowend_row (输出控制)  line.end.y-array HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Column coordinates of the lines' end points.

EndColEndColEndColEndColendColend_col (输出控制)  line.end.x-array HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Column coordinates of the lines' end 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_polygon_xldget_polygon_xldGetPolygonXldGetPolygonXldGetPolygonXldget_polygon_xld

模块

基础