/// <summary> /// Scales three matrices of equal size to point vectors in space. /// </summary> /// <param name="MatrixX">X-matrix.</param> /// <param name="MatrixY">Y-matrix.</param> /// <param name="MatrixZ">Z-matrix.</param> public Vector4[,] Scale(IMatrix MatrixX, IMatrix MatrixY, IMatrix MatrixZ) { return(Graph3D.Scale(MatrixX, MatrixY, MatrixZ, this.minX, this.maxX, this.minY, this.maxY, this.minZ, this.maxZ, this.offsetX, this.offsetY, this.offsetZ, this.width, this.height, this.depth)); }
/// <summary> /// Scales a matrix with z-coordinates to fit a given volume. /// </summary> /// <param name="Matrix">Matrix.</param> public double[,] ScaleZ(IMatrix Matrix) { return(Graph3D.Scale(Matrix, this.maxZ, this.minZ, this.offsetZ, this.depth)); }
/// <summary> /// Scales a matrix with y-coordinates to fit a given volume. /// </summary> /// <param name="Matrix">Matrix.</param> public double[,] ScaleY(IMatrix Matrix) { return(Graph3D.Scale(Matrix, this.minY, this.maxY, this.offsetY, this.height)); }
/// <summary> /// Scales a matrix with x-coordinates to fit a given volume. /// </summary> /// <param name="Matrix">Matrix.</param> public double[,] ScaleX(IMatrix Matrix) { return(Graph3D.Scale(Matrix, this.minX, this.maxX, this.offsetX, this.width)); }