All Frameworks  Class Hierarchy  This Framework  Indexes

AdvancedMathematics Global Function CATSquareDistanceND


double CATSquareDistanceND( const CATLONG32 iN,
const double* iPoint0,
const double* iPoint1)
Returns the square distance between two N dimensional points.
Parameters:
iN
The dimension.
iPoint0
The array of the coordinates of the first point.
iPoint1
The array of the coordinates of the second point.
Returns:
The distance.

This object is included in the file: CATMathSetOfPointsND.h
If needed, your Imakefile.mk should include the module: CATAdvancedMathematics

Copyright © 2003, Dassault Systèmes. All rights reserved.