Project a 3D point orthogonally onto a surface (to find the nearest point).
Throws InvalidOperationException if the projection fails.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public void Project(
XYZ point,
out UV uv,
out double distance
)
Parameters
- point XYZ
-
The point to project.
- uv UV%
-
The surface coordinates of the projected point.
- distance Double%
-
Holds the distance from input point to its projection.
Exceptions
See Also
Reference