User Tools

Site Tools


thinkgeo.mapsuite.core.matrix

This is an old revision of the document!


ThinkGeo.MapSuite.Core.Matrix

This class represents a base Matrix which encapsulate the tile caculation logics.

Inheritance Hierarchy

Members Summary

Public Constructors

Protected Constructors

Matrix

  • Parameters:N/A
  • DeclaringType:N/A
  • Summary:This method is the default protected constructor.

Matrix

Matrix

Public Methods

Equals

  • Parameters:Object
  • DeclaringType:Object
  • Summary:N/A

GetAllCells

  • Parameters:N/A
  • DeclaringType:N/A
  • Summary:This method returns all the cells of the TileMatrix.

GetCell

  • Parameters:Int64,Int64
  • DeclaringType:N/A
  • Summary:Get the cell by passing a specified row and column.

GetCell

  • Parameters:PointShape
  • DeclaringType:N/A
  • Summary:Get the cell by passing a specified point shape location.

GetColumnIndex

  • Parameters:PointShape
  • DeclaringType:N/A
  • Summary:Get the column index by passing a specified point shape location.

GetContainedCells

  • Parameters:RectangleShape
  • DeclaringType:N/A
  • Summary:This method returns the contained cells of the TileMatrix.

GetContainedRowColumnRange

  • Parameters:RectangleShape
  • DeclaringType:N/A
  • Summary:This method returns the RowColumnRange of the TileMatrix contained the passed in extent.

GetHashCode

  • Parameters:N/A
  • DeclaringType:Object
  • Summary:N/A

GetIntersectingCells

  • Parameters:RectangleShape
  • DeclaringType:N/A
  • Summary:This method returns the intersecting cells of the TileMatrix.

GetIntersectingRowColumnRange

  • Parameters:RectangleShape
  • DeclaringType:N/A
  • Summary:This method returns the RowColumnRange of the TileMatrix intersects the passed in extent.

GetRowIndex

  • Parameters:PointShape
  • DeclaringType:N/A
  • Summary:Get the row index by passing a specified point shape location.

GetType

  • Parameters:N/A
  • DeclaringType:Object
  • Summary:N/A

ToString

  • Parameters:N/A
  • DeclaringType:Object
  • Summary:N/A

Protected Methods

Finalize

  • Parameters:N/A
  • DeclaringType:Object
  • Summary:N/A

MemberwiseClone

  • Parameters:N/A
  • DeclaringType:Object
  • Summary:N/A

SetMatrix

SetMatrix

  • Parameters:String,Double,Double,PointShape,MatrixReferenceCorner,Int64,Int64
  • DeclaringType:N/A
  • Summary:This method sets the Matrix system by passing in each variables.

SetMatrix

  • Parameters:Double,Double
  • DeclaringType:N/A
  • Summary:This method sets the Matrix system by passing the cellWidth and cellHeight.

Public Properties

BoundingBox

  • Summary:This property gets or sets the BouningBox of the Matrix.

CellHeight

  • Return:Double
  • Summary:This property gets the cell height of the Matrix.

CellWidth

  • Return:Double
  • Summary:This property gets the cell width of the Matrix.

ColumnCount

  • Return:Int64
  • Summary:This property gets the column count of the Matrix.

Id

  • Return:String
  • Summary:This property gets or sets the id of the Matrix.

RowCount

  • Return:Int64
  • Summary:This property gets the row count of the Matrix.

Protected Properties

Public Events

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 * Type:RectangleShape * Description:This parameter specified the boundingBox of the Matrix.

referenceCorner

  • Description:This parameter specified the cacluation reference corner of the Matrix. Go Back === 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 * Type:MatrixReferenceCorner * 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.

Go Back

Public Methods

Equals(Object)

N/A

Remarks

N/A

Return Value

  • Return Type:Boolean
  • Description:N/A

Parameters

obj

  • Type:Object
  • Description:N/A

Go Back

GetAllCells()

This method returns all the cells of the TileMatrix.

Remarks

N/A

Return Value

  • Return 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

  • Return Type:TileMatrixCell
  • 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.

Go Back

GetCell(PointShape)

Get the cell by passing a specified point shape location.

Remarks

N/A

Return Value

  • Return Type:TileMatrixCell
  • Description:The returning cell by specifing the target point location.

Parameters

intersectingPoint

  • Description:The parameter specified the target point location.

Go Back

GetColumnIndex(PointShape)

Get the column index by passing a specified point shape location.

Remarks

N/A

Return Value

  • Return Type:Int64
  • Description:The returning column index by specifing the target point location.

Parameters

intersectingPoint

  • Description:The parameter specified the target point location.

Go Back

GetContainedCells(RectangleShape)

This method returns the contained cells of the TileMatrix.

Remarks

N/A

Return Value

  • Return 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.

Go Back

GetContainedRowColumnRange(RectangleShape)

This method returns the RowColumnRange of the TileMatrix contained the passed in extent.

Remarks

N/A

Return Value

  • Return Type:RowColumnRange
  • 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.

Go Back

GetHashCode()

N/A

Remarks

N/A

Return Value

  • Return Type:Int32
  • Description:N/A

Parameters

GetIntersectingCells(RectangleShape)

This method returns the intersecting cells of the TileMatrix.

Remarks

N/A

Return Value

  • Return 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.

Go Back

GetIntersectingRowColumnRange(RectangleShape)

This method returns the RowColumnRange of the TileMatrix intersects the passed in extent.

Remarks

N/A

Return Value

  • Return Type:RowColumnRange
  • 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.

Go Back

GetRowIndex(PointShape)

Get the row index by passing a specified point shape location.

Remarks

N/A

Return Value

  • Return Type:Int64
  • Description:The returning row index by specifing the target point location.

Parameters

intersectingPoint

  • Description:The parameter specified the target point location.

Go Back

GetType()

N/A

Remarks

N/A

Return Value

  • Return Type:Type
  • Description:N/A

Parameters

ToString()

N/A

Remarks

N/A

Return Value

  • Return Type:String
  • Description:N/A

Parameters

Protected Methods

Finalize()

N/A

Remarks

N/A

Return Value

  • Return Type:Void
  • Description:N/A

Parameters

MemberwiseClone()

N/A

Remarks

N/A

Return Value

  • Return Type:Object
  • Description:N/A

Parameters

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

  • Return 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.

Go Back

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

This method sets the Matrix system by passing in each variables.

Remarks

None

Return Value

  • Return 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.

Go Back

SetMatrix(Double,Double)

This method sets the Matrix system by passing the cellWidth and cellHeight.

Remarks

None

Return Value

  • Return 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.

Go Back

Public Properties

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

Return Type:RectangleShape

Go Back

CellHeight

This property gets the cell height of the Matrix.

Remarks

N/A

Return Value

Return Type:Double

Go Back

CellWidth

This property gets the cell width of the Matrix.

Remarks

N/A

Return Value

Return Type:Double

Go Back

ColumnCount

This property gets the column count of the Matrix.

Remarks

N/A

Return Value

Return Type:Int64

Go Back

Id

This property gets or sets the id of the Matrix.

Remarks

N/A

Return Value

Return Type:String

Go Back

RowCount

This property gets the row count of the Matrix.

Remarks

N/A

Return Value

Return Type:Int64

Go Back

Protected Properties

Public Events

thinkgeo.mapsuite.core.matrix.1442486100.txt.gz · Last modified: 2015/09/17 10:35 by admin