equal Method

Summary

Indicates whether the target LeadPoint3D point is equal to this point by checking the difference is less than the threshold .

Syntax
TypeScript
JavaScript
LeadPoint3D.prototype.equal = function( 
   target, 
   threshold 
) 
equal( 
   target: LeadPoint3D, 
   threshold: number 
): boolean; 

Parameters

target

the target point in question.

threshold

The allowed difference. If the difference between the two points is less than this value, the points are considered equal.

Return Value

true if the points are equal; otherwise, false if the points are not equal.

Remarks

If you want the point to be an exact match or for it to return false, then set the value threshold to 0.

Requirements

Target Platforms

Help Version 23.0.2024.5.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls.Medical Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.