User Tools

Site Tools


thinkgeo.mapsuite.core.worldfile

This is an old revision of the document!


ThinkGeo.MapSuite.Core.WorldFile

<!– Class –> This class represents the values of a world file.

Remarks

A world file is an attribute file that is associated with a corresponding image file. Typically, the world file consists of 6 lines of numbers.

Inheritance Hierarchy

Members Summary

Public Constructors

Name Parameters DeclaringType Summary
Public MethodWorldFile This is the default constructor for the WorldFile class.
Public MethodWorldFile String This is the constructor that passes the worldFile text.
Public MethodWorldFile RectangleShape, Single, Single This is the constructor that passes the WorldExtent of the image, the height of the image, and the width of the image.
Public MethodWorldFile Double, Double, Double, Double, Double, Double This is a constructor that passes 6 attributes in double associated with the corresponding image file.
Public MethodWorldFile Single, Single, Single, Single, Single, Single This is a constructor that passes 6 attributes in float associated with the corresponding image file.

Protected Constructors

Name Parameters DeclaringType Summary

Public Methods

Name Parameters DeclaringType Summary
Public MethodEquals Object Object
Public MethodGetBoundingBox Single, Single
Public MethodGetHashCode Object
Public MethodGetType Object
Public MethodToString Object

Protected Methods

Name Parameters DeclaringType Summary
Protected MethodFinalize Object
Protected MethodMemberwiseClone Object

Public Properties

Name Return DeclaringType Summary
Public PropertyHorizontalResolution Single This property gets the horizontal resolution from the world file.
Public PropertyRotationColumn Single This property gets the rotation in column from the world file.
Public PropertyRotationRow Single This property gets the rotation in row from the world file.
Public PropertyUpperLeftX Single This property gets the upper left Y coordinate from the world file.
Public PropertyUpperLeftY Single This property gets the upper left X coordinate from the world file.
Public PropertyVerticalResolution Single This property gets the vertical resolution from the world file.

Protected Properties

Name Return DeclaringType Summary

Public Events

Name Event Arguments DeclaringType Summary

Public Constructors

WorldFile()

This is the default constructor for the WorldFile class.

Parameters

Name Type Description

Go Back

WorldFile(String)

This is the constructor that passes the worldFile text.

Remarks

The worldFileText is typically read from a world file.

Parameters

Name Type Description
worldFileText String<!– System.String –> The world file text containing the world file attribute information.

Go Back

WorldFile(RectangleShape, Single, Single)

This is the constructor that passes the WorldExtent of the image, the height of the image, and the width of the image.

Parameters

Name Type Description
worldExtent RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –> This parameter specifies the World Coordinate Extent for the image.
imageWidth Single<!– System.Single –> This parameter specifies the image width for the image.
imageHeight Single<!– System.Single –> This parameter specifies the image height for the image.

Go Back

WorldFile(Double, Double, Double, Double, Double, Double)

This is a constructor that passes 6 attributes in double associated with the corresponding image file.

Parameters

Name Type Description
horizontalResolution Double<!– System.Double –> This parameter specifies the size of pixels in the x direction.
rotationRow Double<!– System.Double –> This parameter specifies the rotation term for row.
rotationColumn Double<!– System.Double –> This parameter specifes the rotation term for column.
verticalResolution Double<!– System.Double –> This parameter specifies the size of pixels in the y direction.
upperLeftX Double<!– System.Double –> This parameter represents the x coordinate of the center of the upper-leftmost pixel in map units.
upperLeftY Double<!– System.Double –> This parameter represents the y coordinate of the center of the upper-leftmost pixel in map units.

Go Back

WorldFile(Single, Single, Single, Single, Single, Single)

This is a constructor that passes 6 attributes in float associated with the corresponding image file.

Parameters

Name Type Description
horizontalResolution Single<!– System.Single –> This parameter specifies the size of pixels in the x direction.
rotationRow Single<!– System.Single –> This parameter specifies the rotation term for row.
rotationColumn Single<!– System.Single –> This parameter specifes the rotation term for column.
verticalResolution Single<!– System.Single –> This parameter specifies the size of pixels in the y direction.
upperLeftX Single<!– System.Single –> This parameter represents the x coordinate of the center of the upper-leftmost pixel in map units.
upperLeftY Single<!– System.Single –> This parameter represents the y coordinate of the center of the upper-leftmost pixel in map units.

Go Back

Protected Constructors

Public Methods

Equals(Object)

Return Value

Return Type Description
Boolean<!– System.Boolean –>

Parameters

Name Type Description
obj Object<!– System.Object –>

<!– System.Object –> Go Back

GetBoundingBox(Single, Single)

Return Value

Return Type Description
RectangleShape<!– ThinkGeo.MapSuite.Core.RectangleShape –>

Parameters

Name Type Description
width Single<!– System.Single –>
height Single<!– System.Single –>

<!– ThinkGeo.MapSuite.Core.WorldFile –> Go Back

GetHashCode()

Return Value

Return Type Description
Int32<!– System.Int32 –>

Parameters

Name Type Description

<!– System.Object –> Go Back

GetType()

Return Value

Return Type Description
Type<!– System.Type –>

Parameters

Name Type Description

<!– System.Object –> Go Back

ToString()

Return Value

Return Type Description
String<!– System.String –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Protected Methods

Finalize()

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– System.Object –> Go Back

MemberwiseClone()

Return Value

Return Type Description
Object<!– System.Object –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Public Properties

HorizontalResolution

This property gets the horizontal resolution from the world file.

Return Value

Return Type
Single<!– System.Single –>

<!– ThinkGeo.MapSuite.Core.WorldFile –> Go Back

RotationColumn

This property gets the rotation in column from the world file.

Return Value

Return Type
Single<!– System.Single –>

<!– ThinkGeo.MapSuite.Core.WorldFile –> Go Back

RotationRow

This property gets the rotation in row from the world file.

Return Value

Return Type
Single<!– System.Single –>

<!– ThinkGeo.MapSuite.Core.WorldFile –> Go Back

UpperLeftX

This property gets the upper left Y coordinate from the world file.

Return Value

Return Type
Single<!– System.Single –>

<!– ThinkGeo.MapSuite.Core.WorldFile –> Go Back

UpperLeftY

This property gets the upper left X coordinate from the world file.

Return Value

Return Type
Single<!– System.Single –>

<!– ThinkGeo.MapSuite.Core.WorldFile –> Go Back

VerticalResolution

This property gets the vertical resolution from the world file.

Return Value

Return Type
Single<!– System.Single –>

<!– ThinkGeo.MapSuite.Core.WorldFile –> Go Back

Protected Properties

Public Events

thinkgeo.mapsuite.core.worldfile.1440040130.txt.gz · Last modified: 2015/09/17 10:42 (external edit)