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

MeshFaceNormalListSetFaceNormal Method (Int32, Double, Double, Double)

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

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

Parameters

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

Return Value

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