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