Uses the X,Y,Z input point to determine the closest point on the face.  
             
            
.NET Syntax
| Visual Basic (Declaration) |  | 
|---|
| Function IGetClosestPointOn( _
   ByVal X As System.Double, _
   ByVal Y As System.Double, _
   ByVal Z As System.Double _
) As System.Double | 
| Visual Basic (Usage) |  | 
|---|
| Dim instance As IFace2
Dim X As System.Double
Dim Y As System.Double
Dim Z As System.Double
Dim value As System.Double
 
value = instance.IGetClosestPointOn(X, Y, Z) | 
| C# |  | 
|---|
| System.double IGetClosestPointOn( 
   System.double X,
   System.double Y,
   System.double Z
) | 
| C++/CLI |  | 
|---|
| System.double IGetClosestPointOn( 
&   System.double X,
&   System.double Y,
&   System.double Z
)  | 
Parameters
- X
- X value of the input point 
- Y
- Y value of the input point 
- Z
- Z value of the input point 
Return Value
- 
in-process, unmanaged C++: Pointer to an array of five doubles representing the X,Y,Z point on the face followed by the U, V parameter on the face that is closest to the input point 
VBA, VB.NET, C#, and C++/CLI: Not supportedSee In-process Methods for details about this type of method.
Remarks
 
            
            See Also
 
            Availability
SOLIDWORKS 2001Plus FCS, Revision Number 10.0