get_mid_point#
- static GeometryOperators.get_mid_point(v1: list, v2: list) list#
Evaluate the midpoint between two points.
- Parameters:
- v1
List List of
[x, y, z]coordinates for the first point.- v2
List List of
[x, y, z]coordinates for the second point.
- v1
- Returns:
ListList of
[x, y, z]coordinates for the midpoint.
Examples
>>> from ansys.aedt.core.modeler.geometry_operators import GeometryOperators >>> obj = GeometryOperators() >>> obj.get_mid_point(v1=[0, 0, 0], v2=[10, 0, 0])