Class DatumClass

Namespace
ESRI.ArcGIS.Geometry
Assembly
ESRI.Server.Geometry.dll
[ClassInterface(ClassInterfaceType.None)]
[Guid("862BF080-1DD2-11B2-BF4F-08002022F573")]
public class DatumClass : Datum, IESRISpatialReferenceGEN, IESRISpatialReferenceGEN2, IHVDatum, IDatum, IDatumEdit, ISpatialReferenceInfo, IClone, IPersistStream, IPersist, IESRISpatialReference, ISupportErrorInfo, ISpatialReferenceAuthority
Inheritance
DatumClass
Implements
Inherited Members

Constructors

DatumClass()

public DatumClass()

Explicit Interface Implementations

Abbreviation

virtual string Abbreviation { get; }

Returns

string

Alias

virtual string Alias { get; }

Returns

string

Assign(IClone)

Assigns the properties of src to the receiver.

virtual void Assign(IClone src)

Parameters

src IClone

AuthorityName

The name of the defining authority for this object.

virtual string AuthorityName { get; }

Returns

string

Clone()

Clones the receiver and assigns the result to *clone.

virtual IClone Clone()

Returns

IClone

Code

The code identifying this object relative to its authority. For the EPSG authority, this will initially be the WKID (factory code).

virtual int Code { get; }

Returns

int

Define(ref object, ref object, ref object, ref object, ref object)

Defines the properties of a horizontal datum.

virtual void Define(ref object Name, ref object Alias, ref object Abbreviation, ref object Remarks, ref object Spheroid)

Parameters

Name object
Alias object
Abbreviation object
Remarks object
Spheroid object

Define(string, int, string)

Defines the authority-related metadata properties for this spatial reference object.

virtual void Define(string AuthorityName, int authorityCode, string authorityVersion)

Parameters

AuthorityName string
authorityCode int
authorityVersion string

DefineEx(string, string, string, string, ISpheroid)

Defines the properties of a horizontal datum.

virtual void DefineEx(string Name, string Alias, string Abbreviation, string Remarks, ISpheroid Spheroid)

Parameters

Name string
Alias string
Abbreviation string
Remarks string
Spheroid ISpheroid

ESRISpatialReferenceSize

The number of bytes required to hold the persistant representation of this spatial reference component.

virtual int ESRISpatialReferenceSize { get; }

Returns

int

ExportToESRISpatialReference(out string, out int)

Exports this spatial reference component to a buffer.

virtual void ExportToESRISpatialReference(out string str, out int cBytesWrote)

Parameters

str string
cBytesWrote int

ExportToESRISpatialReference2(out string, out int)

Exports this spatial reference component to a buffer.

virtual void ExportToESRISpatialReference2(out string str, out int cBytesWrote)

Parameters

str string
cBytesWrote int

FactoryCode

virtual int FactoryCode { get; }

Returns

int

GetClassID(out Guid)

virtual void GetClassID(out Guid pClassID)

Parameters

pClassID Guid

GetSizeMax(out _ULARGE_INTEGER)

virtual void GetSizeMax(out _ULARGE_INTEGER pcbSize)

Parameters

pcbSize _ULARGE_INTEGER

IESRISpatialReferenceGEN2_ESRISpatialReferenceSize

The number of bytes required to hold the persistant representation of this spatial reference component.

virtual int IESRISpatialReferenceGEN2_ESRISpatialReferenceSize { get; }

Returns

int

IESRISpatialReferenceGEN2_ImportFromESRISpatialReference(string, out int)

Defines this spatial reference component from the specified ESRISpatialReference buffer.

virtual void IESRISpatialReferenceGEN2_ImportFromESRISpatialReference(string str, out int cBytesRead)

Parameters

str string
cBytesRead int

IESRISpatialReference_ESRISpatialReferenceSize

The number of bytes required to hold the persistant representation of this spatial reference component.

virtual int IESRISpatialReference_ESRISpatialReferenceSize { get; }

Returns

int

IESRISpatialReference_ExportToESRISpatialReference(out string, out int)

Exports this spatial reference component to a buffer.

virtual void IESRISpatialReference_ExportToESRISpatialReference(out string str, out int cBytesWrote)

Parameters

str string
cBytesWrote int

IESRISpatialReference_ImportFromESRISpatialReference(string, out int)

Defines this spatial reference component from the specified ESRISpatialReference buffer.

virtual void IESRISpatialReference_ImportFromESRISpatialReference(string str, out int cBytesRead)

Parameters

str string
cBytesRead int

IPersistStream_GetClassID(out Guid)

virtual void IPersistStream_GetClassID(out Guid pClassID)

Parameters

pClassID Guid

ISpatialReferenceInfo_Abbreviation

The abbreviated name of this spatial reference component.

virtual string ISpatialReferenceInfo_Abbreviation { get; }

Returns

string

ISpatialReferenceInfo_Alias

The alias of this spatial reference component.

virtual string ISpatialReferenceInfo_Alias { get; }

Returns

string

ISpatialReferenceInfo_FactoryCode

The factory code (WKID) of the spatial reference.

virtual int ISpatialReferenceInfo_FactoryCode { get; }

Returns

int

Remarks

The factory code is an integer identifier that is unique by projection engine object type, such as a projected coordinate system. You can use a factory code in the ISpatialReferenceFactory::CreateProjectedCoordinateSystem method for example. If you create a custom projected coordinate system, the factory code is zero.

ISpatialReferenceInfo_Name

The name of this spatial reference component.

virtual string ISpatialReferenceInfo_Name { get; }

Returns

string

ISpatialReferenceInfo_Remarks

The comment string of this spatial reference component.

virtual string ISpatialReferenceInfo_Remarks { get; }

Returns

string

ImportFromESRISpatialReference(string, out int)

Defines this spatial reference component from the specified ESRISpatialReference buffer.

virtual void ImportFromESRISpatialReference(string str, out int cBytesRead)

Parameters

str string
cBytesRead int

InterfaceSupportsErrorInfo(ref Guid)

virtual void InterfaceSupportsErrorInfo(ref Guid riid)

Parameters

riid Guid

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

Name

virtual string Name { get; }

Returns

string

Remarks

virtual string Remarks { get; }

Returns

string

Save(IStream, int)

virtual void Save(IStream pstm, int fClearDirty)

Parameters

pstm IStream
fClearDirty int

Spheroid

The spheroid of this horizontal datum.

virtual ISpheroid Spheroid { get; }

Returns

ISpheroid

Remarks

<P>The <STRONG>IClone::IsIdentical</STRONG> method is not implemented. </P>

Version

The version of this spatial reference object.

virtual string Version { get; }

Returns

string