public Vector3f get(int i) {
        switch (i) {
            case 0:
                return pointA;
            case 1:
                return pointB;
            case 2:
                return pointC;
            default:
                return null;
        }
    }
Accesses the location of the indexed vertex.

@param i the index of the vertex to access (0, 1, or 2)
@return a pre-existing location vector, or null if the index is invalid
jme3-core/src/main/java/com/jme3/math/Triangle.java