Point3D.vectorTo Method

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

Description

Returns a vector from this point to another point.

Syntax

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

#include <Core/Geometry/Point3D.h>

returnValue = point3D_var->vectorTo(point);

Return Value

Type Description
Vector3D Returns a Vector3D object.

Parameters

Name Type Description
point Point3D The other point to use to create the vector.

Version

Introduced in version August 2014