PolyLoop

class xgbxml.xgbxml.PolyLoop[source]
create_CartesianPoints(*points_coordinates)[source]

Creates CartesianPoint child elements with Coordinate subelements.

Parameters

points_coordinates (tuple) – An argument list of tuple where each tuple is the (x,y,(z)) coordinates of a CartesianPoint.

Returns

The newly creeated CartesianPoint elements.

Return type

list(CartesianPoints)

get_coordinates()[source]

Returns the coordinates of the CartesianPoint child elements.

Returns

Point_coordinates where each point_coordinate is a tuple of the (x,y,(z)) coordinates of a CartesianPoint.

Return type

tuple(tuple(float))

get_shell()[source]