DistanceToLine Data Member Function

Calculates the distance from 'this' to a line which passes through two vectors 'A' and 'B'.

Prototype

double DistanceToLine( Float64Vector A, Float64Vector B )

Parameters

Parameter Type Parameter Name Documentation
<Float64Vector>AA point which lies on the line to calculate distance from.
<Float64Vector>BA second point which lies on the line to calculate distance from.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.