/// <summary> /// sets for every for every <see cref="Face"/> <see cref="SmoothPlane.Smooth"/> to the <b>value</b>. /// </summary> /// <param name="value"><b>true</b> activate the smoothing for the <see cref="SmoothPlane"/> of the <b>Faces</b>.</param> public void SetSmooth(bool value) { for (int i = 0; i < FaceList.Count; i++) { SmoothPlane F = FaceList[i].Surface as SmoothPlane; if (F != null) { F.Smooth = value; } } }
/// <summary> /// overrides the <see cref="Surface.Copy"/> method and sets the belonging fields. /// </summary> /// <returns>the copied surface</returns> public override Surface Copy() { SmoothPlane Result = base.Copy() as SmoothPlane; Result.A00 = A00; Result.A10 = A10; Result.A01 = A01; Result.A11 = A11; Result.N00 = N00; Result.N10 = N10; Result.N01 = N01; Result.N11 = N11; return(Result); }