IMapTPoint Methods |
The IMapTPoint generic type exposes the following members.
| Name | Description | |
|---|---|---|
| AnchorCellBottom |
Returns an IMap that anchors the grid cells to the bottom.
| |
| AnchorCellBottomCenter |
Returns an IMap that anchors the grid cells to the bottom center.
| |
| AnchorCellBottomLeft |
Returns an IMap that anchors the grid cells to the bottom left.
| |
| AnchorCellBottomRight |
Returns an IMap that anchors the grid cells to the bottom right.
| |
| AnchorCellCenter |
Returns an IMap that anchors the grid cells horizontally to the center.
| |
| AnchorCellLeft |
Returns an IMap that anchors the grid cells to the left.
| |
| AnchorCellMiddle |
Returns an IMap that anchors the grid cells vertically to the middle.
| |
| AnchorCellMiddleCenter |
Returns an IMap that anchors the grid cells to the middle center.
| |
| AnchorCellMiddleLeft |
Returns an IMap that anchors the grid cells to the middle left.
| |
| AnchorCellMiddleRight |
Returns an IMap that anchors the grid cells to the middle right.
| |
| AnchorCellRight |
Returns an IMap that anchors the grid cells to the right.
| |
| AnchorCellTop |
Returns an IMap that anchors the grid cells to the top.
| |
| AnchorCellTopCenter |
Returns an IMap that anchors the grid cells vertically to the top center.
| |
| AnchorCellTopLeft |
Returns an IMap that anchors the grid cells vertically to the top left.
| |
| AnchorCellTopRight |
Returns an IMap that anchors the grid cells vertically to the top right.
| |
| CalcAnchorBottomLeft | ||
| CalcAnchorDimensions | ||
| CalcBottomLeft | ||
| CalcGridDimensions | ||
| FlipXY |
Returns an IMap where grid cells positioned with x-and y-coordinates (in world space) flipped.
| |
| GetAnchorTranslation | ||
| GetCellDimensions | ||
| GetCellDimensions(TPoint) | ||
| GridToWorld |
This method maps a grid point to a world point.
| |
| RawWorldToGrid |
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.
| |
| ReflectAboutX |
Returns an IMap where grid cells are reflected about the X-point in world space.
| |
| ReflectAboutY |
Returns an IMap where grid cells are reflected about the Y-point in world space.
| |
| Rotate |
Returns an IMap where grid cells are rotated about the origin by the given angle.
| |
| Rotate180 |
Returns an IMap where grid cells are scaled about the origin by 180 degrees.
| |
| Rotate90 |
Returns an IMap where grid cells are rotated about the origin by 90 degrees.
| |
| RotateAround |
Returns an IMap where grid cells are rotated about the given point by the given angle.
| |
| Scale(Single) |
Returns an IMap where grid cells are scaled by factor.
| |
| Scale(Vector2) | ||
| Scale(Single, Single) |
Returns an IMap where grid cells are scaled by the factors in each direction.
| |
| SetGridPointTransforms | ||
| To3DXY |
The same as To3DX(float z), but with z set to 0.
| |
| To3DXY(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.
| |
| To3DXZ |
The same as To3DZ(float y), but with y set to 0.
| |
| To3DXZ(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.
| |
| Translate(Vector2) |
Returns an IMap where grid cells are translated by the give amount.
| |
| Translate(Single, Single) |
Returns an IMap where grid cells are translated by the give amounts.
| |
| TranslateX |
Returns an IMap where grid cells are translated by the give amount.
| |
| TranslateY |
Returns an IMap where grid cells are translated by the give amount.
| |
| WithWindow |
Returns a WindowedMap based on this map that can be used to
lay the grid out in a window.
|
| Name | Description | |
|---|---|---|
| AnchorCellMiddelCenterTPoint | (Defined by IMapObsoleteExtensions.) | |
| AnchorCellMiddelLeftTPoint | (Defined by IMapObsoleteExtensions.) | |
| AnchorCellMiddelRightTPoint | (Defined by IMapObsoleteExtensions.) | |
| AnimateTPoint(FuncVector2, Single, Vector2) | Overloaded.
Only use this method if animation(x, -t) is the inverse of animation(x, t).
(Defined by MapAnimationExtensions.) | |
| AnimateTPoint(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,
(Defined by MapAnimationExtensions.)inverseAmimation(animation(someVector, t), t) == someVector | |
| GetLineTPoint |
This method returns a list of grid points that form a straight line between the two given grid points.
(Defined by MapExtensions.) |