|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Coordinates | |
---|---|
org.mars_sim.msp.simulation | Contains classes for creating a virtual Mars. |
org.mars_sim.msp.simulation.equipment | Contains classes involving equipment units. |
org.mars_sim.msp.simulation.mars | Contains classes for Mars planete information, minerals... |
org.mars_sim.msp.simulation.person.ai.mission | Contains classes involving missions a person can perform. |
org.mars_sim.msp.simulation.person.ai.task | Contains classes involving tasks a person can perform. |
org.mars_sim.msp.simulation.person.medical | Contains classes involving a person's medical situation. |
org.mars_sim.msp.simulation.structure | Contains classes involving structure units. |
org.mars_sim.msp.simulation.vehicle | Contains classes involving vehicle units. |
org.mars_sim.msp.ui.standard | Contains classes for creating the standard user interface for a virtual Mars. |
org.mars_sim.msp.ui.standard.tool.map | Contains the mars simulation map related UI components |
org.mars_sim.msp.ui.standard.tool.navigator | Contains classes for creating a navigator tool window. |
Uses of Coordinates in org.mars_sim.msp.simulation |
---|
Methods in org.mars_sim.msp.simulation that return Coordinates | |
---|---|
Coordinates |
Coordinates.convertRectToSpherical(double x,
double y)
Converts linear rectangular XY position change to spherical coordinates |
Coordinates |
Coordinates.convertRectToSpherical(double x,
double y,
double rho)
Converts linear rectangular XY position change to spherical coordinates with rho value for map. |
Coordinates |
Unit.getCoordinates()
Gets the unit's location |
Coordinates |
Coordinates.getNewLocation(Direction direction,
double distance)
Gets a new location with a given direction and distance from the current location. |
Methods in org.mars_sim.msp.simulation with parameters of type Coordinates | ||
---|---|---|
void |
Coordinates.convertRectToSpherical(double x,
double y,
double rho,
Coordinates newCoordinates)
Converts linear rectangular XY position change to spherical coordinates with rho value for map. |
|
static IntPoint |
Coordinates.findRectPosition(Coordinates newCoords,
Coordinates centerCoords,
double rho,
int half_map,
int low_edge)
Converts spherical coordinates to rectangular coordinates. |
|
double |
Coordinates.getAngle(Coordinates otherCoords)
Returns the arc angle in radians between this location and the given coordinates |
|
Direction |
Coordinates.getDirectionToPoint(Coordinates otherCoords)
Returns angle direction to another location on surface of sphere 0 degrees is north (clockwise) |
|
double |
Coordinates.getDistance(Coordinates otherCoords)
Returns the distance in kilometers between this location and the given coordinates |
|
void |
Inventory.setCoordinates(Coordinates newLocation)
Sets the coordinates of all units in the inventory. |
|
void |
Unit.setCoordinates(Coordinates newLocation)
Sets unit's location coordinates |
|
void |
Coordinates.setCoords(Coordinates newCoordinates)
Set coordinates |
|
static
|
CollectionUtils.sortByProximity(java.util.Collection<T> collection,
Coordinates location)
|
Constructors in org.mars_sim.msp.simulation with parameters of type Coordinates | |
---|---|
Coordinates(Coordinates originalCoordinates)
Clone constructor |
|
Unit(java.lang.String name,
Coordinates location)
Constructor |
Uses of Coordinates in org.mars_sim.msp.simulation.equipment |
---|
Methods in org.mars_sim.msp.simulation.equipment with parameters of type Coordinates | |
---|---|
static Equipment |
EquipmentFactory.getEquipment(java.lang.Class equipmentClass,
Coordinates location,
boolean temp)
Gets an equipment instance from an equipment class. |
static Equipment |
EquipmentFactory.getEquipment(java.lang.String type,
Coordinates location,
boolean temp)
Gets an equipment instance from an equipment type string. |
Constructors in org.mars_sim.msp.simulation.equipment with parameters of type Coordinates | |
---|---|
Bag(Coordinates location,
double capacity)
|
|
Barrel(Coordinates location,
double capacity)
Constructor |
|
EVASuit(Coordinates location)
Constructor |
|
GasCanister(Coordinates location,
double capacity)
Constructor |
|
SpecimenContainer(Coordinates location)
|
Uses of Coordinates in org.mars_sim.msp.simulation.mars |
---|
Methods in org.mars_sim.msp.simulation.mars that return Coordinates | |
---|---|
Coordinates |
Landmark.getLandmarkLocation()
Gets the landmark location. |
Coordinates |
ExploredLocation.getLocation()
Gets the location coordinates. |
Coordinates |
OrbitInfo.getSunDirection()
The point on the surface of Mars perpendicular to the Sun as Mars rotates. |
Methods in org.mars_sim.msp.simulation.mars with parameters of type Coordinates | |
---|---|
ExploredLocation |
SurfaceFeatures.addExploredLocation(Coordinates location,
java.util.Map<java.lang.String,java.lang.Double> estimatedMineralConcentrations,
Settlement settlement)
Adds an explored location. |
double |
TerrainElevation.determineTerrainDifficulty(Coordinates currentLocation,
Direction currentDirection)
Returns terrain steepness angle from location by sampling 11.1 km in given direction |
double |
Weather.getAirPressure(Coordinates location)
Gets the air pressure at a given location. |
java.util.Map<java.lang.String,java.lang.Double> |
MineralMap.getAllMineralConcentrations(Coordinates location)
Gets all of the mineral concentrations at a given location. |
java.util.Map<java.lang.String,java.lang.Double> |
RandomMineralMap.getAllMineralConcentrations(Coordinates location)
Gets all of the mineral concentrations at a given location. |
double |
TerrainElevation.getElevation(Coordinates location)
Returns elevation in km at the given location |
double |
MineralMap.getMineralConcentration(java.lang.String mineralType,
Coordinates location)
Gets the mineral concentration at a given location. |
double |
RandomMineralMap.getMineralConcentration(java.lang.String mineralType,
Coordinates location)
Gets the mineral concentration at a given location. |
double |
SurfaceFeatures.getSurfaceSunlight(Coordinates location)
Returns a float value representing the current sunlight conditions at a particular location. |
double |
Weather.getTemperature(Coordinates location)
Gets the surface temperature at a given location. |
boolean |
SurfaceFeatures.inDarkPolarRegion(Coordinates location)
Returns true if location is in a dark polar region. |
boolean |
SurfaceFeatures.inPolarRegion(Coordinates location)
Checks if location is within a polar region of Mars. |
void |
Landmark.setLandmarkLocation(Coordinates landmarkLocation)
Sets the landmark location. |
Constructors in org.mars_sim.msp.simulation.mars with parameters of type Coordinates | |
---|---|
Landmark(java.lang.String name,
Coordinates location)
Constructs a landmark object with the given name at the given location. |
Uses of Coordinates in org.mars_sim.msp.simulation.person.ai.mission |
---|
Methods in org.mars_sim.msp.simulation.person.ai.mission that return Coordinates | |
---|---|
Coordinates |
Mission.getCurrentMissionLocation()
Gets the current location of the mission. |
Coordinates |
NavPoint.getLocation()
Gets the location of this navpoint. |
Constructors in org.mars_sim.msp.simulation.person.ai.mission with parameters of type Coordinates | |
---|---|
NavPoint(Coordinates location,
Settlement settlement,
java.lang.String description)
Constructor with location and settlement. |
|
NavPoint(Coordinates location,
java.lang.String description)
Constructor with location. |
Constructor parameters in org.mars_sim.msp.simulation.person.ai.mission with type arguments of type Coordinates | |
---|---|
Exploration(java.util.Collection<Person> members,
Settlement startingSettlement,
java.util.List<Coordinates> explorationSites,
Rover rover,
java.lang.String description)
Constructor with explicit data. |
Uses of Coordinates in org.mars_sim.msp.simulation.person.ai.task |
---|
Methods in org.mars_sim.msp.simulation.person.ai.task that return Coordinates | |
---|---|
Coordinates |
OperateVehicle.getDestination()
Gets the location of the destination of the trip. |
Methods in org.mars_sim.msp.simulation.person.ai.task with parameters of type Coordinates | |
---|---|
void |
OperateVehicle.setDestination(Coordinates newDestination)
Sets the location of the destination of this trip. |
Constructors in org.mars_sim.msp.simulation.person.ai.task with parameters of type Coordinates | |
---|---|
DriveGroundVehicle(Person person,
GroundVehicle vehicle,
Coordinates destination,
MarsClock startTripTime,
double startTripDistance)
Default Constructor |
|
DriveGroundVehicle(Person person,
GroundVehicle vehicle,
Coordinates destination,
MarsClock startTripTime,
double startTripDistance,
java.lang.String startingPhase)
Constructs with a given starting phase. |
|
MineSite(Person person,
Coordinates site,
Rover rover,
LightUtilityVehicle luv)
Constructor |
|
OperateVehicle(java.lang.String name,
Person person,
Vehicle vehicle,
Coordinates destination,
MarsClock startTripTime,
double startTripDistance,
double stressModifier,
boolean hasDuration,
double duration)
Default Constructor |
Uses of Coordinates in org.mars_sim.msp.simulation.person.medical |
---|
Methods in org.mars_sim.msp.simulation.person.medical that return Coordinates | |
---|---|
Coordinates |
DeathInfo.getLocationOfDeath()
Gets the location of death. |
Uses of Coordinates in org.mars_sim.msp.simulation.structure |
---|
Constructors in org.mars_sim.msp.simulation.structure with parameters of type Coordinates | |
---|---|
Settlement(java.lang.String name,
Coordinates location)
Constructor for subclass extension. |
|
Settlement(java.lang.String name,
java.lang.String template,
Coordinates location)
Constructs a Settlement object at a given location |
Uses of Coordinates in org.mars_sim.msp.simulation.vehicle |
---|
Methods in org.mars_sim.msp.simulation.vehicle that return types with arguments of type Coordinates | |
---|---|
java.util.Collection<Coordinates> |
Vehicle.getTrail()
Gets the vehicle's trail as a collection of coordinate locations. |
Methods in org.mars_sim.msp.simulation.vehicle with parameters of type Coordinates | |
---|---|
void |
Vehicle.addToTrail(Coordinates location)
Adds a location to the vehicle's trail if appropriate. |
void |
Rover.setCoordinates(Coordinates newLocation)
Sets unit's location coordinates |
Uses of Coordinates in org.mars_sim.msp.ui.standard |
---|
Methods in org.mars_sim.msp.ui.standard with parameters of type Coordinates | |
---|---|
void |
MainDesktopPane.centerMapGlobe(Coordinates targetLocation)
Centers the map and the globe on given coordinates. |
Uses of Coordinates in org.mars_sim.msp.ui.standard.tool.map |
---|
Methods in org.mars_sim.msp.ui.standard.tool.map that return Coordinates | |
---|---|
Coordinates |
MapPanel.getCenterLocation()
|
Methods in org.mars_sim.msp.ui.standard.tool.map with parameters of type Coordinates | |
---|---|
void |
LandmarkMapLayer.displayLayer(Coordinates mapCenter,
java.lang.String mapType,
java.awt.Graphics g)
Displays the layer on the map image. |
void |
MapLayer.displayLayer(Coordinates mapCenter,
java.lang.String mapType,
java.awt.Graphics g)
Displays the layer on the map image. |
void |
VehicleTrailMapLayer.displayLayer(Coordinates mapCenter,
java.lang.String mapType,
java.awt.Graphics g)
Displays the layer on the map image. |
void |
MineralMapLayer.displayLayer(Coordinates mapCenter,
java.lang.String mapType,
java.awt.Graphics g)
Displays the layer on the map image. |
void |
NavpointMapLayer.displayLayer(Coordinates mapCenter,
java.lang.String mapType,
java.awt.Graphics g)
Displays the layer on the map image. |
void |
ShadingMapLayer.displayLayer(Coordinates mapCenter,
java.lang.String mapType,
java.awt.Graphics g)
Displays the layer on the map image. |
void |
ExploredSiteMapLayer.displayLayer(Coordinates mapCenter,
java.lang.String mapType,
java.awt.Graphics g)
Displays the layer on the map image. |
void |
EllipseLayer.displayLayer(Coordinates mapCenter,
java.lang.String mapType,
java.awt.Graphics g)
Displays the layer on the map image. |
void |
NavpointEditLayer.displayLayer(Coordinates mapCenter,
java.lang.String mapType,
java.awt.Graphics g)
Displays the layer on the map image. |
protected void |
UnitLabelMapLayer.displayUnit(Unit unit,
Coordinates mapCenter,
java.lang.String mapType,
java.awt.Graphics g)
Displays a unit on the map. |
protected void |
UnitIconMapLayer.displayUnit(Unit unit,
Coordinates mapCenter,
java.lang.String mapType,
java.awt.Graphics g)
Displays a unit on the map. |
void |
USGSMarsMap.drawMap(Coordinates newCenter)
Creates a 2D map at a given center point. |
void |
CannedMarsMap.drawMap(Coordinates newCenter)
Creates a 2D map at a given center point. |
void |
Map.drawMap(Coordinates newCenter)
Creates a 2D map at a given center point. |
static IntPoint |
MapUtils.getRectPosition(Coordinates coords,
Coordinates mapCenter,
java.lang.String mapType)
Gets a coordinate x, y position on the map image. |
void |
MapPanel.showMap(Coordinates newCenter)
|
Uses of Coordinates in org.mars_sim.msp.ui.standard.tool.navigator |
---|
Methods in org.mars_sim.msp.ui.standard.tool.navigator with parameters of type Coordinates | |
---|---|
void |
MarsGlobe.drawSphere(Coordinates newCenter)
Creates a Sphere Image at given center point |
void |
NavigatorWindow.updateCoords(Coordinates newCoords)
Update coordinates in map, buttons, and globe Redraw map and globe if necessary |
void |
NavButtonDisplay.updateCoords(Coordinates newCenter)
Update coordinates |
void |
NavigatorWindow.updateGlobeOnly(Coordinates newCoords)
Update coordinates on globe only. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |