Topsolid online Help Index
Created : v6.6
IShape.GetEdgeNearestAsBspline(EdgeId, Pt1X, Pt1Y, Pt1Z, u, Pt2X, Pt2Y, Pt2Z)
This method gets the nearest point on an edge converted in bspline to a given point. This function should be use when you have used the GetEdgeBsplineParams or GetEdgeParasolidBsplineParams method to get the parameters of this edge.
|
IN:
|
Long EdgeId |
Id of the edge you want to project on.
|
|
IN:
|
Double Pt1X |
X coordinate of the given point. |
|
IN: |
Double Pt1Y |
Y coordinate of the given point.
|
|
IN: |
Double Pt1Z |
Z coordinate of the given point.
|
|
OUT: |
Double u |
U-parameter of the nearest point.
|
|
OUT: |
Double Pt2X |
X coordinate of the nearest point.
|
|
OUT: |
Double Pt2Y |
Y coordinate of the nearest point.
|
|
OUT: |
Double Pt2Z |
Z coordinate of the nearest point.
|
Topsolid online Help Index