protected override void SetMasterObj(Object3 obj) { SimpleDot3 dot = new SimpleDot3(5); //dot.SetScale("1/50"); masterObj = dot; }
/// <summary> /// Need to perform recursive clone of vertecies PointMatrix /// </summary> /// <returns>a shallow copy of this object</returns> public virtual Object3 Clone() { PointMatrix newVerts = new PointMatrix(vertecies.ToArray()); for (int i = 0; i < newVerts.ColumnCount; i++) { newVerts.Set(i, vertecies.Get(i).Clone()); } Object3 result = (Object3)MemberwiseClone(); result.SetVertecies(newVerts); return(result); }
protected virtual void SetMasterObj(Object3 obj) { masterObj = obj; }
/// <summary> /// /// </summary> /// <param name="geometry"></param> /// <param name="masterObj"></param> public System3(double[,] geometry, Object3 masterObj) { SetMasterObj(masterObj); ConvertGeometry(geometry); originalGeo = MatrixD.OfArray(geometry); }