MathTransform Class

Uses

System.ICloneable

System.IDisposeable

 

Description

The MathTransform class represents a mathematical transformation that can be applied to CoordPoints.  GeoCalcNET supports several types of MathTransforms, which are outlined in the ClassType enumeration.  There are two ways to define a MathTransform.  

There first way is to set the various Parameters and Settings needed by the specific type of MathTransform.  A description of the Parameters and Settings needed by each type of MathTransform can be found by clicking on the appropriate description from the ClassType enumeration page.  

The second way that a MathTransform can be defined is by using the AddPoint and AddPointList methods to add a set of control and observed points to the transform.  A control point is a point in the domain of the MathTransform, which can be viewed as a source point or a point that has not yet passed through the MathTransform.  An observed point is a point in the codomain of the MathTransform, which can be viewed as a target point or one that has passed through the MathTransform.  Once a list of control and observed points has been added, the Solve method is used to find the Parameters and Settings that define the MathTransform from the control points to the observed points.

 

Public Enumerations

Enum

Description

ClassType

Contains elements that correspond to the various types of MathTransforms

 

Public Constructors

Constructor

Description

MathTransform

Creates a new instance of the MathTransform class

 

Public Properties

Property

Description

Class

Indicates the type of this MathTransform, according to the ClassType enumeration

Parameters

Contains values used to customize this MathTransform

Settings

Additional settings used by this MathTransform

 

Public Methods

Method

Description

AddPoint

Adds a control and an observed point to the list of points that will be used to solve this MathTransform

AddPointList

Adds a list of control and a list of observed points to the list of points that will be used to solve this MathTransform

Clear

Removes all control and observed points

Clone

Produces a deep-copy of the current instance

DeepCopy

Produces a deep-copy of a MathTransform

Dispose

Releases the resources used by the current instance

IsSolved

Indicates if this MathTransform has been solved, and is ready to Transform

Solve

Solves the MathTransform

Transform

Applies this MathTransform to the specified point

ValueEquals

Compares the value of two MathTransform instances