MathTransform Class

Inherits from

GEOCALCPBW_NAMESPACE::GeoBase

 

Description

The MathTransform class represents a mathematical transformation that can be applied to CoordPoints.  GeoCalc 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 for 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

CreateMathTransform

Creates a new instance of the MathTransform class

MathTransform

Creates a new instance of the MathTransform class

 

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 an observed points to the list of points that will be used to solve this MathTransform

ClearPoints

Removes all points from this MathTransform

DeepCopy

Produces a deep-copy of a MathTransform

get_Class

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

get_Parameters

Returns the ParameterCollection that stores values used to customize this MathTransform

get_Settings

Returns the ParameterCollection that stores additional settings used by this MathTransform

IsSolved

Indicates whether this MathTransform is ready to Transform

Solve

Solves this MathTransform

Transform

Applies this MathTransform to the specified point

ValueEquals

Compares the value of two MathTransforms

 

Overloaded Operators

Operator

Description

operator=

Assigns a new value to this MathTransform

operator==

Compares the value of two MathTransforms

operator!=

Compares the value of two MathTransforms