Vertex Viewer SDK
    Preparing search index...

    Function distanceSquared

    • Returns the squared distance between a line's start and end point. If you're just comparing distances, this is slightly more efficient than distanceTo.

      Parameters

      Returns number