class EllipsoidNormalsGenerator {

    public List<List<Vector3d>> calculateNormals(List<List<Position>> positions)
    {
        List<List<Vector3d>> normals = New.list();

        for (List<? extends Position> triangleStrip : positions)
        {
            List<Vector3d> stripsNormals = New.list();

            for (Position position : triangleStrip)
            {
                stripsNormals.add(position.asVector3d().getNormalized());
            }

            normals.add(stripsNormals);
        }

        return normals;
    }

}