How to get points index for plane in The path of spline?

Hi, I created PlaneGeometry with spline I want to get The index for plane points which exist in the same path of spline

let spline=new THREE.CatmullRomCurve3( [
new THREE.Vector3(1.5443305532272227, 0,  -5 ),
new THREE.Vector3(1.1931624273001438, y0,  -1.6666666666666665 ),
new THREE.Vector3(-1.0001496943363737, 0, 1.666666666666667),
new THREE.Vector3(-1.9862714051133166, 0, 5),
]
)
let splinepoints = spline.getSpacedPoints(50);
let g = new THREE.PlaneGeometry(5, 5, 50, 50).rotateX(-Math.PI * 0.5);
let pos=g.vertices;
splinepoints.getIndexOf(pos);