RobotStudio event

How can I get the points'Position from the curve.


I have created a wire using CreateIntersectionCurve method. But I can only get the start and end position of vertex. Here is my code  I want to get more point's position form the wire.Is there a method that can do this?


Body IntersectionCurve1 = Body.CreateIntersectionCurve(face, f1);

wire = IntersectionCurve1.Shells[0].Wires[0]

PointPosition =  wire.StartVertex.Position;


Thanks in advance.