get_mid_point#

static GeometryOperators.get_mid_point(v1: list, v2: list) list#

Evaluate the midpoint between two points.

Parameters:
v1List

List of [x, y, z] coordinates for the first point.

v2List

List of [x, y, z] coordinates for the second point.

Returns:
List

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