User Tools

Site Tools


thinkgeo.mapsuite.core.matrix

ThinkGeo.MapSuite.Core.Matrix

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 a base Matrix which encapsulate the tile caculation logics.

Inheritance Hierarchy

Members Summary

Public Constructors

Protected Constructors

Matrix()

  • This method is the default protected constructor.
Remarks
  • If you use this constructor, you have to set the properties correctly before use it.
Parameters

Matrix(String,Double,Double,RectangleShape,MatrixReferenceCorner)

  • This method is the default protected constructor.
Remarks
  • None
Parameters
  • id
    • Type:String
    • Description:This parameter specified the id of the Matrix.
  • cellWidth
    • Type:Double
    • Description:This parameter specified the cell width(in DecimalDegrees) of the Matrix.
  • cellHeight
    • Type:Double
    • Description:This parameter specified the cell height(in DecimalDegrees) of the Matrix.
  • boundingBox
    • Description:This parameter specified the boundingBox of the Matrix.
  • referenceCorner
    • Description:This parameter specified the cacluation reference corner of the Matrix.

Matrix(String,Double,Double,PointShape,MatrixReferenceCorner,Int64,Int64)

  • This method is the default protected constructor.
Remarks
  • None
Parameters
  • id
    • Type:String
    • Description:This parameter specified the id of the Matrix.
  • cellWidth
    • Type:Double
    • Description:This parameter specified the cell width(in DecimalDegrees) of the Matrix.
  • cellHeight
    • Type:Double
    • Description:This parameter specified the cell height(in DecimalDegrees) of the Matrix.
  • referencePoint
    • Description:This parameter specified the cacluation reference point of the Matrix.
  • referenceCorner
    • Description:This parameter specified the cacluation reference corner of the Matrix.
  • rowCount
    • Type:Int64
    • Description:This parameter specified the row count of the Matrix.
  • columnCount
    • Type:Int64
    • Description:This parameter specified the column count of the Matrix.

Public Methods

GetAllCells()

  • This method returns all the cells of the TileMatrix.
Remarks
  • N/A
Return Value
  • Type:Collection<TileMatrixCell>
  • Description:This method returns a collection of TileMatrixCell.
Parameters

GetCell(Int64,Int64)

  • Get the cell by passing a specified row and column.
Remarks
  • N/A
Return Value
  • Description:The returning cell by specified the row and column.
Parameters
  • row
    • Type:Int64
    • Description:This parameter specifies the row based on 1.
  • column
    • Type:Int64
    • Description:This parameter specifies the row based on 1.

GetCell(PointShape)

  • Get the cell by passing a specified point shape location.
Remarks
  • N/A
Return Value
  • Description:The returning cell by specifing the target point location.
Parameters
  • intersectingPoint
    • Description:The parameter specified the target point location.

GetRowIndex(PointShape)

  • Get the row index by passing a specified point shape location.
Remarks
  • N/A
Return Value
  • Type:Int64
  • Description:The returning row index by specifing the target point location.
Parameters
  • intersectingPoint
    • Description:The parameter specified the target point location.

GetColumnIndex(PointShape)

  • Get the column index by passing a specified point shape location.
Remarks
  • N/A
Return Value
  • Type:Int64
  • Description:The returning column index by specifing the target point location.
Parameters
  • intersectingPoint
    • Description:The parameter specified the target point location.

GetIntersectingCells(RectangleShape)

  • This method returns the intersecting cells of the TileMatrix.
Remarks
  • N/A
Return Value
  • Type:Collection<TileMatrixCell>
  • Description:This method returns a collection of TileMatrixCell which intersecting with the passed in extent.
Parameters
  • worldExtent
    • Description:This parameter specifies extent which is used to get the tiles back from.

GetContainedCells(RectangleShape)

  • This method returns the contained cells of the TileMatrix.
Remarks
  • N/A
Return Value
  • Type:Collection<TileMatrixCell>
  • Description:This method returns a collection of TileMatrixCell which contained in the passed in extent.
Parameters
  • worldExtent
    • Description:This parameter specifies extent which is used to get the tiles back from.

GetIntersectingRowColumnRange(RectangleShape)

  • This method returns the RowColumnRange of the TileMatrix intersects the passed in extent.
Remarks
  • N/A
Return Value
  • Description:This method returns the RowColumnRange intersects the passed in extent.
Parameters
  • worldExtent
    • Description:This parameter specifies extent which is used to get the tiles back from.

GetContainedRowColumnRange(RectangleShape)

  • This method returns the RowColumnRange of the TileMatrix contained the passed in extent.
Remarks
  • N/A
Return Value
  • Description:This method returns the RowColumnRange contained the passed in extent.
Parameters
  • worldExtent
    • Description:This parameter specifies extent which is used to get the tiles back from.

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

SetMatrix(String,Double,Double,RectangleShape,MatrixReferenceCorner)

  • This method sets the Matrix system by passing in each variables.
Remarks
  • Accroding to the these given parameters, the referencePoint, rowCount, columnCount can be caculated.
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • id
    • Type:String
    • Description:This parameter specifies the id to set the Matrix.
  • cellWidth
    • Type:Double
    • Description:This parameter specifies the cell width(in decimalDegrees) to set the Matrix.
  • cellHeight
    • Type:Double
    • Description:This parameter specifies the cell height(in decimalDegrees) to set the Matrix.
  • boundingBox
    • Description:This parameter specifies the boundingBox to set the Matrix.
  • referenceCorner
    • Description:This parameter specifies the reference corner to set the Matrix.

SetMatrix(String,Double,Double,PointShape,MatrixReferenceCorner,Int64,Int64)

  • This method sets the Matrix system by passing in each variables.
Remarks
  • None
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • id
    • Type:String
    • Description:This parameter specifies the id to set the Matrix.
  • cellWidth
    • Type:Double
    • Description:This parameter specifies the cell width(in decimalDegrees) to set the Matrix.
  • cellHeight
    • Type:Double
    • Description:This parameter specifies the cell height(in decimalDegrees) to set the Matrix.
  • referencePoint
    • Description:This parameter specifies the reference Point to set the Matrix.
  • referenceCorner
    • Description:This parameter specifies the reference corner to set the Matrix.
  • rowCount
    • Type:Int64
    • Description:This parameter specifies the row count to set the Matrix.
  • columnCount
    • Type:Int64
    • Description:This parameter specifies the column count to set the Matrix.

SetMatrix(Double,Double)

  • This method sets the Matrix system by passing the cellWidth and cellHeight.
Remarks
  • None
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • cellWidth
    • Type:Double
    • Description:This parameter specifies the cell width(in decimalDegrees) to set the Matrix.
  • cellHeight
    • Type:Double
    • Description:This parameter specifies the cell height(in decimalDegrees) to set the Matrix.

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

CellWidth

This property gets the cell width of the Matrix.

Remarks

N/A

Return Value
  • Type:Double

CellHeight

This property gets the cell height of the Matrix.

Remarks

N/A

Return Value
  • Type:Double

BoundingBox

This property gets or sets the BouningBox of the Matrix.

Remarks

The bounding box of the Matrix is related with the referencePoint, cellWidth, cellHeight and the rowCount and columnCount.

Return Value

RowCount

This property gets the row count of the Matrix.

Remarks

N/A

Return Value
  • Type:Int64

ColumnCount

This property gets the column count of the Matrix.

Remarks

N/A

Return Value
  • Type:Int64

Id

This property gets or sets the id of the Matrix.

Remarks

N/A

Return Value
  • Type:String

Protected Properties

Public Events

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