private void InitSpace() { Space = new SpaceManager(); Space.HeadOffset = new DPoint(AppSettings.Default.HeadX, AppSettings.Default.HeadY); Space.HeadAngle = AppSettings.Default.HeadAngle; Space.ScaleX = AppSettings.Default.HeadScale; Space.ScapeDistanceAtScale1 = AppSettings.Default.ScapeDistanceAtScale1; }
public SpacePoint(SpaceManager spaceManager) { Space = spaceManager; ModelSpace = new SpaceManager() { ScaleX = 1, ScapeDistanceAtScale1 = spaceManager.ScapeDistanceAtScale1 }; }
private void InitSpace() { var newSpace = new SpaceManager(); newSpace.AntennaSensorOffset = new DPoint(AppSettings.Default.HeadX, AppSettings.Default.HeadY); newSpace.HeadAngle = AppSettings.Default.HeadAngle; newSpace.ScaleX = AppSettings.Default.HeadScale; newSpace.ScapeDistanceAtScale1 = AppSettings.Default.ScapeDistanceAtScale1; Space = newSpace; }
public SpacePoint(SpaceManager spaceManager) { Space = spaceManager; }