MeshFaceNormalList.SetFaceNormal Method (Int32, Single, Single, Single)

MeshFaceNormalListSetFaceNormal Method (Int32, Single, Single, Single)

Sets a face normal vector at an index using three single-precision numbers.

Namespace:  Rhino.Geometry.Collections
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax
public bool SetFaceNormal(
	int index,
	float x,
	float y,
	float z
)
Public Function SetFaceNormal ( 
	index As Integer,
	x As Single,
	y As Single,
	z As Single
) As Boolean

Parameters

index
Type: SystemInt32
An index.
x
Type: SystemSingle
A x component.
y
Type: SystemSingle
A y component.
z
Type: SystemSingle
A z component.

Return Value

Type: Boolean
true on success; false on error.
See Also