v_points#
- static GeometryOperators.v_points(p1: list, p2: list) list#
Vector from one point to another point.
- Parameters:
- p1
List Coordinates
[x1,y1,z1]for the first point.- p2
List Coordinates
[x2,y2,z2]for second point.
- p1
- Returns:
ListCoordinates
[vx, vy, vz]for the vector from the first point to the second point.
Examples
>>> from ansys.aedt.core.modeler.geometry_operators import GeometryOperators >>> obj = GeometryOperators() >>> obj.v_points(p1=[0, 0, 0], p2=[10, 0, 0])