API Reference > geometry-core > ArraysAndInterfaces > IndexedXYZCollection > distanceSquaredIndexIndex distanceSquaredIndexIndex MethodAbstract Return distance squared between indicated points. distanceSquaredIndexIndex(index0: number, index1: number): number | undefined Parameter Type Description index0 number first point index index1 number second point index Returns - number | undefined Defined in core/geometry/src/geometry3d/IndexedXYZCollection.ts Line 123 Last Updated: 13 June, 2024