Uses of Class
net.runelite.api.coords.WorldPoint
-
Packages that use WorldPoint Package Description net.runelite.api net.runelite.api.coords net.runelite.api.worldmap -
-
Uses of WorldPoint in net.runelite.api
Methods in net.runelite.api that return WorldPoint Modifier and Type Method Description WorldPoint
Client. getHintArrowPoint()
Gets the world point that the hint arrow is directed at.WorldPoint
Actor. getWorldLocation()
Gets the server-side location of the actor.WorldPoint
Tile. getWorldLocation()
Gets the location coordinate of the tile in the world.WorldPoint
TileObject. getWorldLocation()
Get the world location for this object.Methods in net.runelite.api with parameters of type WorldPoint Modifier and Type Method Description void
Client. setHintArrow(WorldPoint point)
Sets a hint arrow to point to the passed location. -
Uses of WorldPoint in net.runelite.api.coords
Methods in net.runelite.api.coords that return WorldPoint Modifier and Type Method Description WorldPoint
WorldPoint. dx(int dx)
Offsets the x-axis coordinate by the passed value.WorldPoint
WorldPoint. dy(int dy)
Offsets the y-axis coordinate by the passed value.WorldPoint
WorldPoint. dz(int dz)
Offsets the plane by the passed value.static WorldPoint
WorldPoint. fromCoord(int c)
Create a WorldPoint from a packed Jagex coordinatestatic WorldPoint
WorldPoint. fromLocal(Client client, int x, int y, int plane)
Deprecated.static WorldPoint
WorldPoint. fromLocal(Client client, LocalPoint local)
Gets the coordinate of the tile that contains the passed local point.static WorldPoint
WorldPoint. fromLocal(Scene scene, int x, int y, int plane)
Gets the coordinate of the tile that contains the passed local point.static WorldPoint
WorldPoint. fromLocal(WorldView wv, int x, int y, int plane)
Gets the coordinate of the tile that contains the passed local point.static WorldPoint
WorldPoint. fromLocalInstance(Client client, LocalPoint localPoint)
Gets the coordinate of the tile that contains the passed local point, accounting for instances.static WorldPoint
WorldPoint. fromLocalInstance(Client client, LocalPoint localPoint, int plane)
Gets the coordinate of the tile that contains the passed local point, accounting for instances.static WorldPoint
WorldPoint. fromLocalInstance(Scene scene, LocalPoint localPoint, int plane)
Gets the coordinate of the tile that contains the passed local point, accounting for instances.static WorldPoint
WorldPoint. fromRegion(int regionId, int regionX, int regionY, int plane)
Converts the passed region ID and coordinates to a world coordinatestatic WorldPoint
WorldPoint. fromScene(Client client, int x, int y, int plane)
Deprecated.static WorldPoint
WorldPoint. fromScene(Scene scene, int x, int y, int plane)
Converts the passed scene coordinates to a world spacestatic WorldPoint
WorldPoint. fromScene(WorldView wv, int x, int y, int plane)
Converts the passed scene coordinates to a world spacestatic WorldPoint
WorldPoint. getMirrorPoint(WorldPoint worldPoint, boolean toOverworld)
Translate a coordinate either between overworld and real, or real and overworldWorldPoint
WorldArea. toWorldPoint()
Retrieves the southwestern most point of this WorldArea.Methods in net.runelite.api.coords that return types with arguments of type WorldPoint Modifier and Type Method Description static Collection<WorldPoint>
WorldPoint. toLocalInstance(Client client, WorldPoint worldPoint)
Deprecated.static Collection<WorldPoint>
WorldPoint. toLocalInstance(Scene scene, WorldPoint worldPoint)
Get occurrences of a tile on the scene, accounting for instances.static Collection<WorldPoint>
WorldPoint. toLocalInstance(WorldView wv, WorldPoint worldPoint)
Get occurrences of a tile on the scene, accounting for instances.List<WorldPoint>
WorldArea. toWorldPointList()
Accumulates all the WorldPoints that this WorldArea contains and returns them as a listMethods in net.runelite.api.coords with parameters of type WorldPoint Modifier and Type Method Description boolean
WorldArea. contains(WorldPoint worldPoint)
Checks whether a tile is contained within the area and in the same plane.boolean
WorldArea. contains2D(WorldPoint worldPoint)
Checks whether a tile is contained within the area while ignoring the plane.int
WorldArea. distanceTo(WorldPoint other)
Computes the shortest distance to a world coordinate.int
WorldPoint. distanceTo(WorldPoint other)
Gets the distance between this point and another.int
WorldArea. distanceTo2D(WorldPoint other)
Computes the shortest distance to a world coordinate.int
WorldPoint. distanceTo2D(WorldPoint other)
Find the distance from this point to another point.static LocalPoint
LocalPoint. fromWorld(Client client, WorldPoint world)
Deprecated.static LocalPoint
LocalPoint. fromWorld(WorldView wv, WorldPoint world)
Gets the local coordinate at the center of the passed tile.static WorldPoint
WorldPoint. getMirrorPoint(WorldPoint worldPoint, boolean toOverworld)
Translate a coordinate either between overworld and real, or real and overworldboolean
WorldArea. hasLineOfSightTo(WorldView wv, WorldPoint other)
Determine if this WorldArea has line of sight to another WorldArea.boolean
WorldArea. isInMeleeDistance(WorldPoint other)
Checks whether a coordinate is within melee distance of this area.static Collection<WorldPoint>
WorldPoint. toLocalInstance(Client client, WorldPoint worldPoint)
Deprecated.static Collection<WorldPoint>
WorldPoint. toLocalInstance(Scene scene, WorldPoint worldPoint)
Get occurrences of a tile on the scene, accounting for instances.static Collection<WorldPoint>
WorldPoint. toLocalInstance(WorldView wv, WorldPoint worldPoint)
Get occurrences of a tile on the scene, accounting for instances.Method parameters in net.runelite.api.coords with type arguments of type WorldPoint Modifier and Type Method Description boolean
WorldArea. canTravelInDirection(WorldView wv, int dx, int dy, Predicate<? super WorldPoint> extraCondition)
Determines if the area can travel in one of the 9 directions by using the standard collision detection algorithm.Constructors in net.runelite.api.coords with parameters of type WorldPoint Constructor Description WorldArea(WorldPoint location, int width, int height)
-
Uses of WorldPoint in net.runelite.api.worldmap
Methods in net.runelite.api.worldmap that return WorldPoint Modifier and Type Method Description WorldPoint
WorldMapIcon. getCoordinate()
Get the coordinate of the map iconMethods in net.runelite.api.worldmap with parameters of type WorldPoint Modifier and Type Method Description void
WorldMap. setWorldMapPositionTarget(WorldPoint worldPoint)
Sets the target position of the world map.
-