Class HVCompositeDatumTransformationClass

Namespace
ESRI.ArcGIS.Geometry
Assembly
ESRI.Server.Geometry.dll
[Guid("8D07F20D-B8B2-4BFD-B483-23CA07C67D6F")]
[ClassInterface(ClassInterfaceType.None)]
public class HVCompositeDatumTransformationClass : HVCompositeDatumTransformation, IHVCompositeDatumTransformation, ITransformation, IDatumTransformationInfo, IClone, IPersistStream, IPersist, IXMLSerialize, IXMLVersionSupport
Inheritance
HVCompositeDatumTransformationClass
Implements
Inherited Members

Constructors

HVCompositeDatumTransformationClass()

public HVCompositeDatumTransformationClass()

Explicit Interface Implementations

Assign(IClone)

Assigns the properties of src to the receiver.

virtual void Assign(IClone src)

Parameters

src IClone

Clone()

Clones the receiver and assigns the result to *clone.

virtual IClone Clone()

Returns

IClone

Count

Returns the number of steps in the composite transformation.

virtual int Count { get; }

Returns

int

Deserialize(IXMLSerializeData)

Deserializes an object from XML.

virtual void Deserialize(IXMLSerializeData data)

Parameters

data IXMLSerializeData

ErrorIfReferencesMissingData()

Returns failure if the transformation references missing data. The COM Error info will contain the grid name

virtual void ErrorIfReferencesMissingData()

GetClassID(out Guid)

virtual void GetClassID(out Guid pClassID)

Parameters

pClassID Guid

GetInverse()

Returns inverse transformation for this.

virtual IHVCompositeDatumTransformation GetInverse()

Returns

IHVCompositeDatumTransformation

GetSizeMax(out _ULARGE_INTEGER)

virtual void GetSizeMax(out _ULARGE_INTEGER pcbSize)

Parameters

pcbSize _ULARGE_INTEGER

GetSpatialReferences(out IGeographicCoordinateSystem, out IGeographicCoordinateSystem)

Returns spatial references.

virtual void GetSpatialReferences(out IGeographicCoordinateSystem ppFrom, out IGeographicCoordinateSystem ppTo)

Parameters

ppFrom IGeographicCoordinateSystem
ppTo IGeographicCoordinateSystem

GetSpatialReferences(out ISpatialReference, out ISpatialReference)

Returns spatial references.

virtual void GetSpatialReferences(out ISpatialReference ppFrom, out ISpatialReference ppTo)

Parameters

ppFrom ISpatialReference
ppTo ISpatialReference

GetVerticalCoordinateSystems(out IVerticalCoordinateSystem, out IVerticalCoordinateSystem)

Returns vertical coordinate systems.

virtual void GetVerticalCoordinateSystems(out IVerticalCoordinateSystem ppFrom, out IVerticalCoordinateSystem ppTo)

Parameters

ppFrom IVerticalCoordinateSystem
ppTo IVerticalCoordinateSystem

HVDatumTransform[int]

Returns a step of the datum transformation.

virtual IHVDatumTransformation HVDatumTransform[int Index] { get; }

Parameters

Index int

Returns

IHVDatumTransformation

IDatumTransformationInfo_Name

Returns name.

virtual string IDatumTransformationInfo_Name { get; }

Returns

string

IPersistStream_GetClassID(out Guid)

virtual void IPersistStream_GetClassID(out Guid pClassID)

Parameters

pClassID Guid

IsCompatibleWith(ISpatialReference, ISpatialReference)

Returns True, if this transformation can be used to transform from pSRFrom to pSRTo.

virtual bool IsCompatibleWith(ISpatialReference pSRFrom, ISpatialReference pSRTo)

Parameters

pSRFrom ISpatialReference
pSRTo ISpatialReference

Returns

bool

IsDirty()

virtual void IsDirty()

IsEqual(IClone)

Indicates if the receiver and other have the same properties.

virtual bool IsEqual(IClone other)

Parameters

other IClone

Returns

bool

IsIdentical(IClone)

Indicates if the receiver and other are the same object.

virtual bool IsIdentical(IClone other)

Parameters

other IClone

Returns

bool

Load(IStream)

virtual void Load(IStream pstm)

Parameters

pstm IStream

LoadData()

Makes the grid data available for transformation operations. No need to call this explicitly.

virtual void LoadData()

MinNamespaceSupported

The minimum namespace the class can serialize to (eg the 90 namespace).

virtual string MinNamespaceSupported { get; }

Returns

string

Name

Returns name.

virtual string Name { get; }

Returns

string

Save(IStream, int)

virtual void Save(IStream pstm, int fClearDirty)

Parameters

pstm IStream
fClearDirty int

Serialize(IXMLSerializeData)

Serializes an object to XML.

virtual void Serialize(IXMLSerializeData data)

Parameters

data IXMLSerializeData

TransformMeasuresFF(esriTransformDirection, int, ref double, ref double)

Transforms floating point measures to floating point measures (or do the inverse).

virtual void TransformMeasuresFF(esriTransformDirection Direction, int cMeasures, ref double inMeasures, ref double outMeasures)

Parameters

Direction esriTransformDirection
cMeasures int
inMeasures double
outMeasures double

TransformMeasuresFI(esriTransformDirection, int, ref double, ref int)

Transforms floating point measures to integer measures (or do the inverse).

virtual void TransformMeasuresFI(esriTransformDirection Direction, int cMeasures, ref double inMeasures, ref int outMeasures)

Parameters

Direction esriTransformDirection
cMeasures int
inMeasures double
outMeasures int

TransformMeasuresIF(esriTransformDirection, int, ref int, ref double)

Transforms integer measures to floating point measures (or do the inverse).

virtual void TransformMeasuresIF(esriTransformDirection Direction, int cMeasures, ref int inMeasures, ref double outMeasures)

Parameters

Direction esriTransformDirection
cMeasures int
inMeasures int
outMeasures double

TransformMeasuresII(esriTransformDirection, int, ref int, ref int)

Transforms integer measures to integer measures (or do the inverse).

virtual void TransformMeasuresII(esriTransformDirection Direction, int cMeasures, ref int inMeasures, ref int outMeasures)

Parameters

Direction esriTransformDirection
cMeasures int
inMeasures int
outMeasures int

TransformPointsFF(esriTransformDirection, int, ref double, ref double)

Transforms floating point points to floating point points (or do the inverse).

virtual void TransformPointsFF(esriTransformDirection Direction, int cPoints, ref double inPoints, ref double outPoints)

Parameters

Direction esriTransformDirection
cPoints int
inPoints double
outPoints double

Remarks

The cPoints parameter is the number of points you wish to transform. inPoints and outPoints are one-dimensional arrays so you must interleave coordinate pairs into the arrays.

[C#]

The cPoints parameter is the number of points you wish to transform. inPoints and outPoints are one-dimensional arrays so you must interleave coordinate pairs into the arrays.  This code is a shift of the points to the east and north.

 

            IAffineTransformation2D transform = new AffineTransformation2D() as IAffineTransformation2D;
            //Sets the type of transformation moving the values 10 degrees East and 20 degrees North
            transform.Move(10, 20);
            //Create two single dimensioned arrays for the inPoints and OutPoints
            double[] inPoints = new double[4];
            double[] outPoints = new double[4];




            //Interleave the Longitude and Latitude value for two points 1.1E 5.2N, 2.3E 6.4N
            inPoints[0]=1.1; //Longitude point 1
            inPoints[1]=5.2; //Latitude point 1
            inPoints[2]=2.3; //Longitude point 2
            inPoints[3] = 6.4; //Latitude point 2



            transform.TransformPointsFF(0,2,ref inPoints[0],ref outPoints[0]);
            Debug.Print(outPoints[0].ToString()); //11.1
            Debug.Print(outPoints[1].ToString()); //25.2
            Debug.Print(outPoints[2].ToString()); //12.3
            Debug.Print(outPoints[3].ToString()); //26.4



TransformPointsFI(esriTransformDirection, int, ref double, ref int)

Transforms floating point points to integer points (or do the inverse).

virtual void TransformPointsFI(esriTransformDirection Direction, int cPoints, ref double inPoints, ref int outPoints)

Parameters

Direction esriTransformDirection
cPoints int
inPoints double
outPoints int

Remarks

The cPoints parameter is the number of points you wish to transform. inPoints and outPoints are one-dimensional arrays so you must interleave coordinate pairs into the arrays.

TransformPointsIF(esriTransformDirection, int, ref int, ref double)

Transforms integer points to floating point points (or do the inverse).

virtual void TransformPointsIF(esriTransformDirection Direction, int cPoints, ref int inPoints, ref double outPoints)

Parameters

Direction esriTransformDirection
cPoints int
inPoints int
outPoints double

Remarks

The cPoints parameter is the number of points you wish to transform. inPoints and outPoints are one-dimensional arrays so you must interleave coordinate pairs into the arrays.

TransformPointsII(esriTransformDirection, int, ref int, ref int)

Transforms integer points to integer points (or do the inverse).

virtual void TransformPointsII(esriTransformDirection Direction, int cPoints, ref int inPoints, ref int outPoints)

Parameters

Direction esriTransformDirection
cPoints int
inPoints int
outPoints int

Remarks

The cPoints parameter is the number of points you wish to transform. inPoints and outPoints are one-dimensional arrays so you must interleave coordinate pairs into the arrays.

TransformationDirection[int]

Returns a step of the datum transformation.

virtual esriTransformDirection TransformationDirection[int Index] { get; }

Parameters

Index int

Returns

esriTransformDirection

UnloadData()

Releases any resources consumed by the grid data.

virtual void UnloadData()