Back to docs
Description Compute the distance between two nodes.
Parameters
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)
© 2024 OpenStaad
Built with Reflex