예제 #1
0
 /// <summary>
 /// Scales a vector of y-coordinates to fit a given volume.
 /// </summary>
 /// <param name="Vector">Vector.</param>
 public double[] ScaleY(IVector Vector)
 {
     return(Graph2D.Scale(Vector, this.minY, this.maxY, this.offsetY, this.height));
 }
예제 #2
0
 /// <summary>
 /// Scales a vector of z-coordinates to fit a given volume.
 /// </summary>
 /// <param name="Vector">Vector.</param>
 public double[] ScaleZ(IVector Vector)
 {
     return(Graph2D.Scale(Vector, this.maxZ, this.minZ, this.offsetZ, this.depth));
 }
예제 #3
0
 /// <summary>
 /// Scales a vector of x-coordinates to fit a given volume.
 /// </summary>
 /// <param name="Vector">Vector.</param>
 public double[] ScaleX(IVector Vector)
 {
     return(Graph2D.Scale(Vector, this.minX, this.maxX, this.offsetX, this.width));
 }