Point3D.distanceTo Method

Parent Object: Point3D
Defined in namespace "adsk::core" and the header file is <Core/Geometry/Point3D.h>

Description

Returns the distance from this point to another point.

Syntax

"point3D_var" is a variable referencing a Point3D object.
returnValue = point3D_var.distanceTo(point)
"point3D_var" is a variable referencing a Point3D object.

#include <Core/Geometry/Point3D.h>

returnValue = point3D_var->distanceTo(point);

Return Value

Type Description
double Returns the distance to the point.

Parameters

Name Type Description
point Point3D The point to measure the distance to.

Version

Introduced in version August 2014