dist2
ifc_
lite_
geometry
31.0.0
In ifc_
lite_
geometry::
math::
v2
ifc_lite_geometry
::
math
::
v2
Function
dist2
Copy item path
Source
pub fn dist2(a:
P2
, b:
P2
) ->
f64
Expand description
Squared distance,
dx*dx + dy*dy
.