Uses the X,Y,Z input point to determine the closest point on the surface.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function GetClosestPointOn( _
ByVal X As System.Double, _
ByVal Y As System.Double, _
ByVal Z As System.Double _
) As System.Object |
Visual Basic (Usage) | |
---|
Dim instance As ISurface
Dim X As System.Double
Dim Y As System.Double
Dim Z As System.Double
Dim value As System.Object
value = instance.GetClosestPointOn(X, Y, Z) |
C# | |
---|
System.object GetClosestPointOn(
System.double X,
System.double Y,
System.double Z
) |
C++/CLI | |
---|
System.Object^ GetClosestPointOn(
& System.double X,
& System.double Y,
& System.double Z
) |
Parameters
- X
x coordinate of the approximate position on the surface
- Y
y coordinate of the approximate position on the surface
- Z
z coordinate of the approximate position on the surface
Return Value
Array of 5 doubles containing the (x,y,z) coordinates and the (u,v) parameters of the point on the surface
Example
See Also
Availability
SOLIDWORKS 2001 FCS, Revision Number 9.0