Share

Vector3D.dotProduct Method

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

Description

Returns the dot product between this vector and the specified vector.

Syntax

"vector3D_var" is a variable referencing a Vector3D object.
returnValue = vector3D_var.dotProduct(vector)

Return Value

Type Description
Double Returns the dot product value.

Parameters

Name Type Description
vector Vector3D The vector to take the dot product to.

Version

Introduced in version August 2014

Was this information helpful?