//-------------------------------------------------------------------------------------------------- public Dir GetUpDirection() { double xUp = 0, yUp = 0, zUp = 0; V3dView.Up(ref xUp, ref yUp, ref zUp); return(new Dir(xUp, yUp, zUp)); }