GetNodeDistance
Description Compute the distance between two nodes.
Parameters
- nodeA (int): The first node number.
- nodeB (int): The second node number.
Returns float: Distance between the two nodes, rounded to 3 decimals.
Example To use this function see the following example:
from openstaad import Geometry
# Instanciate the Geometry module
geometry= Geometry()
#Execute the function from geometry module
distance = geometry.GetNodeDistance(1, 5)
print(distance)