Line3D.isColinearTo Method

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

Description

Compare this line with another to check for collinearity

Syntax

"line3D_var" is a variable referencing a Line3D object.
returnValue = line3D_var.isColinearTo(line)
"line3D_var" is a variable referencing a Line3D object.

#include <Core/Geometry/Line3D.h>

returnValue = line3D_var->isColinearTo(line);

Return Value

Type Description
boolean Returns true if the two lines are collinear

Parameters

Name Type Description
line Line3D The line to compare with for collinearity

Version

Introduced in version August 2014