User Tools

Site Tools


thinkgeo.mapsuite.core.worldfile

ThinkGeo.MapSuite.Core.WorldFile

Note: The page was created before Map Suite 10. Map Suite 10.0 organized many classes into new namespaces and assemblies as well as had a few minor breaks in compatibility. The majority of previously built code should work without modification assuming the new namespaces are added. For guidance on upgrading your existing code, please check out MapSuite 10 Upgrade Guide.

This class represents the values of a world file.

Inheritance Hierarchy

  • System.Object
    • ThinkGeo.MapSuite.Core.WorldFile

Members Summary

Public Constructors

WorldFile()

  • This is the default constructor for the WorldFile class.
Remarks
  • None
Parameters

WorldFile(String)

  • This is the constructor that passes the worldFile text.
Remarks
  • The worldFileText is typically read from a world file.
Parameters
  • worldFileText
    • Type:String
    • Description:The world file text containing the world file attribute information.

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.
Remarks
  • N/A
Parameters
  • worldExtent
    • Description:This parameter specifies the World Coordinate Extent for the image.
  • imageWidth
    • Type:Single
    • Description:This parameter specifies the image width for the image.
  • imageHeight
    • Type:Single
    • Description:This parameter specifies the image height for the image.

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

  • This is a constructor that passes 6 attributes in double associated with the corresponding image file.
Remarks
  • N/A
Parameters
  • horizontalResolution
    • Type:Double
    • Description:This parameter specifies the size of pixels in the x direction.
  • rotationRow
    • Type:Double
    • Description:This parameter specifies the rotation term for row.
  • rotationColumn
    • Type:Double
    • Description:This parameter specifes the rotation term for column.
  • verticalResolution
    • Type:Double
    • Description:This parameter specifies the size of pixels in the y direction.
  • upperLeftX
    • Type:Double
    • Description:This parameter represents the x coordinate of the center of the upper-leftmost pixel in map units.
  • upperLeftY
    • Type:Double
    • Description:This parameter represents the y coordinate of the center of the upper-leftmost pixel in map units.

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

  • This is a constructor that passes 6 attributes in float associated with the corresponding image file.
Remarks
  • N/A
Parameters
  • horizontalResolution
    • Type:Single
    • Description:This parameter specifies the size of pixels in the x direction.
  • rotationRow
    • Type:Single
    • Description:This parameter specifies the rotation term for row.
  • rotationColumn
    • Type:Single
    • Description:This parameter specifes the rotation term for column.
  • verticalResolution
    • Type:Single
    • Description:This parameter specifies the size of pixels in the y direction.
  • upperLeftX
    • Type:Single
    • Description:This parameter represents the x coordinate of the center of the upper-leftmost pixel in map units.
  • upperLeftY
    • Type:Single
    • Description:This parameter represents the y coordinate of the center of the upper-leftmost pixel in map units.

Protected Constructors

Public Methods

GetBoundingBox(Single,Single)

  • N/A
Remarks
  • N/A
Return Value
Parameters
  • width
    • Type:Single
    • Description:N/A
  • height
    • Type:Single
    • Description:N/A

ToString()

  • N/A
Remarks
  • N/A
Return Value
  • Type:String
  • Description:N/A
Parameters

Equals(Object)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean
  • Description:N/A
Parameters
  • obj
    • Type:Object
    • Description:N/A

GetHashCode()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Int32
  • Description:N/A
Parameters

GetType()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Type
  • Description:N/A
Parameters

Protected Methods

Finalize()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

MemberwiseClone()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Object
  • Description:N/A
Parameters

Public Properties

HorizontalResolution

This property gets the horizontal resolution from the world file.

Remarks

None

Return Value
  • Type:Single

RotationRow

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

Remarks

None

Return Value
  • Type:Single

RotationColumn

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

Remarks

None

Return Value
  • Type:Single

VerticalResolution

This property gets the vertical resolution from the world file.

Remarks

None

Return Value
  • Type:Single

UpperLeftX

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

Remarks

None

Return Value
  • Type:Single

UpperLeftY

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

Remarks

None

Return Value
  • Type:Single

Protected Properties

Public Events

thinkgeo.mapsuite.core.worldfile.txt · Last modified: 2017/03/16 21:59 (external edit)