MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / get_max_xy

Function get_max_xy

src/ifcopenshell-python/ifcopenshell/util/shape.py:131–137  ·  view source on GitHub ↗

Gets the maximum X or Y length of the geometry :param geometry: Geometry output calculated by IfcOpenShell :return: The maximum possible value out of the X and Y dimension

(geometry: W.Triangulation)

Source from the content-addressed store, hash-verified

129
130
131def get_max_xy(geometry: W.Triangulation) -> float:
132 """Gets the maximum X or Y length of the geometry
133
134 :param geometry: Geometry output calculated by IfcOpenShell
135 :return: The maximum possible value out of the X and Y dimension
136 """
137 return max(get_x(geometry), get_y(geometry))
138
139
140def get_max_xyz(geometry: W.Triangulation) -> float:

Callers

nothing calls this directly

Calls 2

get_xFunction · 0.70
get_yFunction · 0.70

Tested by

no test coverage detected