Interface ISpatialReference2GEN

Namespace
ESRI.ArcGIS.Geometry
Assembly
ESRI.Server.Geometry.dll

Provides access to additional members that control a SpatialReference. ISpatialReference2GEN is generic version of ISpatialReference.

[Guid("3B563182-CF62-4D40-9157-5022F7AE4561")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface ISpatialReference2GEN

Properties

Abbreviation

The abbreviated name of this spatial reference component.

string Abbreviation { get; }

Property Value

string

Alias

The alias of this spatial reference component.

string Alias { get; }

Property Value

string

FactoryCode

The factory code of the spatial reference.

int FactoryCode { get; }

Property Value

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.

Name

The name of this spatial reference component.

string Name { get; }

Property Value

string

PrecisionExImpl

An opaque reference to the precision information (including z/m awareness) implementation for this spatial reference.

long PrecisionExImpl { get; }

Property Value

long

PrecisionImpl

An opaque reference to the precision information implementation for this spatial reference.

long PrecisionImpl { get; }

Property Value

long

Remarks

The comment string of this spatial reference component.

string Remarks { get; }

Property Value

string

SpatialReferenceImpl

SpatialReferenceImpl.

long SpatialReferenceImpl { get; }

Property Value

long

ZCoordinateUnit

The unit for the Z coordinate.

ILinearUnit ZCoordinateUnit { get; set; }

Property Value

ILinearUnit

Methods

ApplyPrecision(ref WKSPoint[], ref double[], ref double[])

Applies the measure and z value precisions.

void ApplyPrecision(ref WKSPoint[] Points, ref double[] ms, ref double[] zs)

Parameters

Points WKSPoint[]
ms double[]
zs double[]

ApplyXYPrecision(ref WKSPoint[])

Applies the XY precision.

void ApplyXYPrecision(ref WKSPoint[] Points)

Parameters

Points WKSPoint[]

Changed()

Notify this object that some of its parts have changed (parameter values, z unit, etc.).

void Changed()

GetDomain(ref double, ref double, ref double, ref double)

Get the domain extent.

void GetDomain(ref double XMin, ref double XMax, ref double YMin, ref double YMax)

Parameters

XMin double
XMax double
YMin double
YMax double

GetFalseOriginAndUnits(ref double, ref double, ref double)

Get the false origin and units.

void GetFalseOriginAndUnits(ref double falseX, ref double falseY, ref double xyUnits)

Parameters

falseX double
falseY double
xyUnits double

GetMDomain(ref double, ref double)

Get the measure domain extent.

void GetMDomain(ref double outMMin, ref double outMMax)

Parameters

outMMin double
outMMax double

GetMFalseOriginAndUnits(ref double, ref double)

Get the measure false origin and units.

void GetMFalseOriginAndUnits(ref double falseM, ref double mUnits)

Parameters

falseM double
mUnits double

GetZDomain(ref double, ref double)

Get the Z domain extent.

void GetZDomain(ref double outZMin, ref double outZMax)

Parameters

outZMin double
outZMax double

GetZFalseOriginAndUnits(ref double, ref double)

Get the Z false origin and units.

void GetZFalseOriginAndUnits(ref double falseZ, ref double zUnits)

Parameters

falseZ double
zUnits double

HasMPrecision()

Returns true when m-value precision information has been defined.

bool HasMPrecision()

Returns

bool

HasXYPrecision()

Returns true when (x,y) precision information has been defined.

bool HasXYPrecision()

Returns

bool

HasZPrecision()

Returns true when z-value precision information has been defined.

bool HasZPrecision()

Returns

bool

IsMPrecisionEqual(ISpatialReference)

Returns true if the measure precisions of the two spatial references are the same.

bool IsMPrecisionEqual(ISpatialReference otherSR)

Parameters

otherSR ISpatialReference

Returns

bool

IsPrecisionEqual(ISpatialReference, ref bool)

Returns TRUE when the precision information for the two spatial references is the same.

void IsPrecisionEqual(ISpatialReference otherSR, ref bool IsPrecisionEqual)

Parameters

otherSR ISpatialReference
IsPrecisionEqual bool

IsXYPrecisionEqual(ISpatialReference)

Returns true if the XY precisions of the two spatial references are the same.

bool IsXYPrecisionEqual(ISpatialReference otherSR)

Parameters

otherSR ISpatialReference

Returns

bool

IsZPrecisionEqual(ISpatialReference)

Returns true if the Z precisions of the two spatial references are the same.

bool IsZPrecisionEqual(ISpatialReference otherSR)

Parameters

otherSR ISpatialReference

Returns

bool

SetDomain(double, double, double, double)

Set the xy domain extent.

void SetDomain(double XMin, double XMax, double YMin, double YMax)

Parameters

XMin double
XMax double
YMin double
YMax double

SetFalseOriginAndUnits(double, double, double)

Set the false origin and units.

void SetFalseOriginAndUnits(double falseX, double falseY, double xyUnits)

Parameters

falseX double
falseY double
xyUnits double

SetMDomain(double, double)

Set the measure domain extent.

void SetMDomain(double inMMin, double inMMax)

Parameters

inMMin double
inMMax double

SetMFalseOriginAndUnits(double, double)

Set the measure false origin and units.

void SetMFalseOriginAndUnits(double falseM, double mUnits)

Parameters

falseM double
mUnits double

SetZDomain(double, double)

Set the z domain extent.

void SetZDomain(double inZMin, double inZMax)

Parameters

inZMin double
inZMax double

SetZFalseOriginAndUnits(double, double)

Set the Z false origin and units.

void SetZFalseOriginAndUnits(double falseZ, double zUnits)

Parameters

falseZ double
zUnits double