2027 Method
Changes 0
M

Surface.ProjectWithGuessPoint

Description:
Project a 3D point orthogonally onto a surface (to find the nearest point). This method is meant to be used when a good approximate solution for the projection is available. Throws InvalidOperationException if the projection fails.
public void ProjectWithGuessPoint(
	XYZ point,
	UV guessUV,
	out UV uv,
	out double distance
)
  • point
    The point to project.
  • guessUV
    The calculation will look for a project near the provided UV.
  • uv
    The surface coordinates of the projected point.
  • Double%
    distance
    Holds the distance from input point to its projection.