API Reference > geometry-core > ArraysAndInterfaces > GrowableXYZArray > distanceSquaredIndexIndex distanceSquaredIndexIndex Method Return distance squared between indicated points. Concrete classes may be able to implement this without creating a temporary. distanceSquaredIndexIndex(i: number, j: number): number | undefined Parameter Type Description i number j number Returns - number | undefined Defined in core/geometry/src/geometry3d/GrowableXYZArray.ts Line 798 Last Updated: 13 June, 2024