Click or drag to resize

IMapTPoint Methods

The IMapTPoint generic type exposes the following members.

Methods
  NameDescription
Public methodAnchorCellBottom
Returns an IMap that anchors the grid cells to the bottom.
Public methodAnchorCellBottomCenter
Returns an IMap that anchors the grid cells to the bottom center.
Public methodAnchorCellBottomLeft
Returns an IMap that anchors the grid cells to the bottom left.
Public methodAnchorCellBottomRight
Returns an IMap that anchors the grid cells to the bottom right.
Public methodAnchorCellCenter
Returns an IMap that anchors the grid cells horizontally to the center.
Public methodAnchorCellLeft
Returns an IMap that anchors the grid cells to the left.
Public methodAnchorCellMiddle
Returns an IMap that anchors the grid cells vertically to the middle.
Public methodAnchorCellMiddleCenter
Returns an IMap that anchors the grid cells to the middle center.
Public methodAnchorCellMiddleLeft
Returns an IMap that anchors the grid cells to the middle left.
Public methodAnchorCellMiddleRight
Returns an IMap that anchors the grid cells to the middle right.
Public methodAnchorCellRight
Returns an IMap that anchors the grid cells to the right.
Public methodAnchorCellTop
Returns an IMap that anchors the grid cells to the top.
Public methodAnchorCellTopCenter
Returns an IMap that anchors the grid cells vertically to the top center.
Public methodAnchorCellTopLeft
Returns an IMap that anchors the grid cells vertically to the top left.
Public methodAnchorCellTopRight
Returns an IMap that anchors the grid cells vertically to the top right.
Public methodCalcAnchorBottomLeft
Public methodCalcAnchorDimensions
Public methodCalcBottomLeft
Public methodCalcGridDimensions
Public methodFlipXY
Returns an IMap where grid cells positioned with x-and y-coordinates (in world space) flipped.
Public methodGetAnchorTranslation
Public methodGetCellDimensions
Public methodGetCellDimensions(TPoint)
Public methodGridToWorld
This method maps a grid point to a world point.
Public methodRawWorldToGrid
This method maps a world point to a grid point without making any compensation based on the anchoring. This method should be used for calculations in maps, rather than the index methods. (The index methods do the anchor compensation.If you use that method instead of this one internally, you may compensate more than one time.
Public methodReflectAboutX
Returns an IMap where grid cells are reflected about the X-point in world space.
Public methodReflectAboutY
Returns an IMap where grid cells are reflected about the Y-point in world space.
Public methodRotate
Returns an IMap where grid cells are rotated about the origin by the given angle.
Public methodRotate180
Returns an IMap where grid cells are scaled about the origin by 180 degrees.
Public methodRotate90
Returns an IMap where grid cells are rotated about the origin by 90 degrees.
Public methodRotateAround
Returns an IMap where grid cells are rotated about the given point by the given angle.
Public methodScale(Single)
Returns an IMap where grid cells are scaled by factor.
Public methodScale(Vector2)
Public methodScale(Single, Single)
Returns an IMap where grid cells are scaled by the factors in each direction.
Public methodSetGridPointTransforms
Public methodTo3DXY
The same as To3DX(float z), but with z set to 0.
Public methodTo3DXY(Single)
Returns a IMap3D which maps a grid point to Vector3 instead of Vector2. The vector3 is the same as the Vector2 that this map would return, with the z set to the given value.
Public methodTo3DXZ
The same as To3DZ(float y), but with y set to 0.
Public methodTo3DXZ(Single)
Returns a IMap3D which maps a grid point to Vector3 instead of Vector2. The vector3 is the same as the Vector2 that this map would return, with z of the Vector3 corresponding to y of the Vector2, and with the y set to the given value.
Public methodTranslate(Vector2)
Returns an IMap where grid cells are translated by the give amount.
Public methodTranslate(Single, Single)
Returns an IMap where grid cells are translated by the give amounts.
Public methodTranslateX
Returns an IMap where grid cells are translated by the give amount.
Public methodTranslateY
Returns an IMap where grid cells are translated by the give amount.
Public methodCode exampleWithWindow
Returns a WindowedMap based on this map that can be used to lay the grid out in a window.
Top
Extension Methods
  NameDescription
Public Extension MethodAnchorCellMiddelCenterTPoint (Defined by IMapObsoleteExtensions.)
Public Extension MethodAnchorCellMiddelLeftTPoint (Defined by IMapObsoleteExtensions.)
Public Extension MethodAnchorCellMiddelRightTPoint (Defined by IMapObsoleteExtensions.)
Public Extension MethodAnimateTPoint(FuncVector2, Single, Vector2)Overloaded.
Only use this method if animation(x, -t) is the inverse of animation(x, t).
(Defined by MapAnimationExtensions.)
Public Extension MethodCode exampleAnimateTPoint(FuncVector2, Single, Vector2, FuncVector2, Single, Vector2)Overloaded.
Animates this grid using a function animation that takes a point and time. The inverse animation is the inverse mapping at time t, that is,
inverseAmimation(animation(someVector, t), t) == someVector
(Defined by MapAnimationExtensions.)
Public Extension MethodGetLineTPoint
This method returns a list of grid points that form a straight line between the two given grid points.
(Defined by MapExtensions.)
Top
See Also