public Apply ( System.Numerics.Complex z ) : System.Numerics.Complex | ||
z | System.Numerics.Complex | |
return | System.Numerics.Complex |
/// <summary> /// Simple helper to transform an array of vertices using an isometry. /// Warning! Allocates a new array. /// </summary> public static Vector3D[] TransformVertices(Vector3D[] vertices, Isometry isometry) { List <Vector3D> result = new List <Vector3D>(); for (int i = 0; i < vertices.Length; i++) { Vector3D transformed = isometry.Apply(vertices[i]); result.Add(transformed); } return(result.ToArray()); }
/// <summary> /// Simple helper to transform an array of vertices using an isometry. /// Warning! Allocates a new array. /// </summary> public static Vector3D[] TransformVertices( Vector3D[] vertices, Isometry isometry ) { List<Vector3D> result = new List<Vector3D>(); for( int i = 0; i < vertices.Length; i++ ) { Vector3D transformed = isometry.Apply( vertices[i] ); result.Add( transformed ); } return result.ToArray(); }