Skip to main content
1-Visitor
August 19, 2010
Question

Distance between point and curve geomitems

  • August 19, 2010
  • 0 replies
  • 821 views
Hello everybody, i need the distance between two geomitems, i know
that for that purpose there is a function called ProGeomitemDistanceEval
that could give me the distance between two geomitems, but in the help
documentation there is a note that says that can be measured only
following objects types: point, axis and planar surface, and what i need
is the distance between a point and a curve. Anyone know how to get the
distance between geomitems of type point and curve?. Thanks in advance.

ProGeomitemDistanceEval
(


ProSelection p_selection1


/* (In)

The first item. This can be a point, axis, or planar surface.

*/

ProSelection p_selection2


/* (In)

The second item. This can be a point, axis, or planar surface.

*/

double* p_result


/* (Out)

The resulting distance between the two items.

*/
)