Get Help

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Community
- :
- Creo Parametric
- :
- Industrial Design
- :
- Distance between point and curve geomitems

Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

08-19-2010
08:38 AM

08-19-2010
08:38 AM

Distance between point and curve geomitems

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.

*/

)

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.

*/

)

Labels: