public override object Clone() { var result = new G3DCartesicCoordinateSystem(); result.CopyFrom(this); return(result); }
/// <summary> /// Copies the member variables from another coordinate system. /// </summary> /// <param name="fromb">The coordinate system to copy from.</param> public override void CopyFrom(G2DCoordinateSystem fromb) { base.CopyFrom(fromb); if (fromb is G3DCartesicCoordinateSystem) { G3DCartesicCoordinateSystem from = (G3DCartesicCoordinateSystem)fromb; this._projectionMatrix = from._projectionMatrix; } }
public override object Clone() { G3DCartesicCoordinateSystem result = new G3DCartesicCoordinateSystem(); result.CopyFrom(this); return result; }