RhinoCommon API
MeshNormalAt Method (MeshPoint) |
Evaluate a mesh normal at a set of barycentric coordinates.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)
public Vector3d NormalAt( MeshPoint meshPoint )
Public Function NormalAt ( meshPoint As MeshPoint ) As Vector3d
Parameters
- meshPoint
- Type: Rhino.GeometryMeshPoint
MeshPoint instance contiaining a valid Face Index and Barycentric coordinates.
Return Value
Type: Vector3dA Normal vector to the mesh or Vector3d.Unset if the faceIndex is not valid or if the barycentric coordinates could not be evaluated.