/// <summary> /// Creates a deep copy of an existing orientation object. /// </summary> /// <param name="source">The source orientation for the copy.</param> private Orientation3D(Orientation3D source) { forwardVector = source.ForwardVector; downVector = source.downVector; angleMeasurement = source.angleMeasurement; }
/// <summary> /// Instantiates a new Plotter. /// </summary> /// <param name="canvas">The Graphics object that we want to draw on.</param> /// <param name="pen">The pen we want to use to draw on the canvas.</param> /// <param name="cameraLocation">The location of the camera that we use to calculate perspective.</param> public Plotter3D(Graphics canvas, Pen pen, Point3D cameraLocation) { this.canvas = canvas; this.pen = pen; this.cameraLocation = cameraLocation; this.orientation = new Orientation3D(); }