ISpatialReference2GEN Interface

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

Members

Name Description
Read-only property Abbreviation The abbreviated name of this spatial reference component.
Read-only property Alias The alias of this spatial reference component.
Method ApplyPrecision Applies the measure and z value precisions.
Method ApplyXYPrecision Applies the XY precision.
Method Changed Notify this object that some of its parts have changed (parameter values, z unit, etc.).
Read-only property FactoryCode The factory code of the spatial reference.
Method GetDomain Get the domain extent.
Method GetFalseOriginAndUnits Get the false origin and units.
Method GetMDomain Get the measure domain extent.
Method GetMFalseOriginAndUnits Get the measure false origin and units.
Method GetZDomain Get the Z domain extent.
Method GetZFalseOriginAndUnits Get the Z false origin and units.
Method HasMPrecision Returns true when m-value precision information has been defined.
Method HasXYPrecision Returns true when (x,y) precision information has been defined.
Method HasZPrecision Returns true when z-value precision information has been defined.
Method IsMPrecisionEqual Returns true if the measure precisions of the two spatial references are the same.
Method IsPrecisionEqual Returns TRUE when the precision information for the two spatial references is the same.
Method IsXYPrecisionEqual Returns true if the XY precisions of the two spatial references are the same.
Method IsZPrecisionEqual Returns true if the Z precisions of the two spatial references are the same.
Read-only property Name The name of this spatial reference component.
Read-only property PrecisionExImpl An opaque reference to the precision information (including z/m awareness) implementation for this spatial reference.
Read-only property PrecisionImpl An opaque reference to the precision information implementation for this spatial reference.
Read-only property Remarks The comment string of this spatial reference component.
Method SetDomain Set the xy domain extent.
Method SetFalseOriginAndUnits Set the false origin and units.
Method SetMDomain Set the measure domain extent.
Method SetMFalseOriginAndUnits Set the measure false origin and units.
Method SetZDomain Set the z domain extent.
Method SetZFalseOriginAndUnits Set the Z false origin and units.
Read-only property SpatialReferenceImpl SpatialReferenceImpl.
Read/write property ZCoordinateUnit The unit for the Z coordinate.

ISpatialReference2GEN.Abbreviation Property

The abbreviated name of this spatial reference component.

Public ReadOnly Property Abbreviation As String
public string Abbreviation {get;}

ISpatialReference2GEN.Alias Property

The alias of this spatial reference component.

Public ReadOnly Property Alias As String
public string Alias {get;}

ISpatialReference2GEN.ApplyPrecision Method

Applies the measure and z value precisions.

Public Sub ApplyPrecision ( _
    ByRef Points As WKSPoint[], _
    ByRef ms As Double[]&, _
    ByRef zs As Double[]& _
)
public void ApplyPrecision (
    ref WKSPoint[] Points,
    ref Double[]& ms,
    ref Double[]& zs
);

ISpatialReference2GEN.ApplyXYPrecision Method

Applies the XY precision.

Public Sub ApplyXYPrecision ( _
    ByRef Points As WKSPoint[] _
)
public void ApplyXYPrecision (
    ref WKSPoint[] Points
);

ISpatialReference2GEN.Changed Method

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

Public Sub Changed ( _
)
public void Changed (
);

ISpatialReference2GEN.FactoryCode Property

The factory code of the spatial reference.

Public ReadOnly Property FactoryCode As Integer
public int FactoryCode {get;}

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.

ISpatialReference2GEN.GetDomain Method

Get the domain extent.

Public Sub GetDomain ( _
    ByRef XMin As Double, _
    ByRef XMax As Double, _
    ByRef YMin As Double, _
    ByRef YMax As Double _
)
public void GetDomain (
    ref double XMin,
    ref double XMax,
    ref double YMin,
    ref double YMax
);

ISpatialReference2GEN.GetFalseOriginAndUnits Method

Get the false origin and units.

Public Sub GetFalseOriginAndUnits ( _
    ByRef falseX As Double, _
    ByRef falseY As Double, _
    ByRef xyUnits As Double _
)
public void GetFalseOriginAndUnits (
    ref double falseX,
    ref double falseY,
    ref double xyUnits
);

ISpatialReference2GEN.GetMDomain Method

Get the measure domain extent.

Public Sub GetMDomain ( _
    ByRef outMMin As Double, _
    ByRef outMMax As Double _
)
public void GetMDomain (
    ref double outMMin,
    ref double outMMax
);

ISpatialReference2GEN.GetMFalseOriginAndUnits Method

Get the measure false origin and units.

Public Sub GetMFalseOriginAndUnits ( _
    ByRef falseM As Double, _
    ByRef mUnits As Double _
)
public void GetMFalseOriginAndUnits (
    ref double falseM,
    ref double mUnits
);

ISpatialReference2GEN.GetZDomain Method

Get the Z domain extent.

Public Sub GetZDomain ( _
    ByRef outZMin As Double, _
    ByRef outZMax As Double _
)
public void GetZDomain (
    ref double outZMin,
    ref double outZMax
);

ISpatialReference2GEN.GetZFalseOriginAndUnits Method

Get the Z false origin and units.

Public Sub GetZFalseOriginAndUnits ( _
    ByRef falseZ As Double, _
    ByRef zUnits As Double _
)
public void GetZFalseOriginAndUnits (
    ref double falseZ,
    ref double zUnits
);

ISpatialReference2GEN.HasMPrecision Method

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

Public Function HasMPrecision ( _
) As Boolean
public bool HasMPrecision (
);

ISpatialReference2GEN.HasXYPrecision Method

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

Public Function HasXYPrecision ( _
) As Boolean
public bool HasXYPrecision (
);

ISpatialReference2GEN.HasZPrecision Method

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

Public Function HasZPrecision ( _
) As Boolean
public bool HasZPrecision (
);

ISpatialReference2GEN.IsMPrecisionEqual Method

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

Public Function IsMPrecisionEqual ( _
    ByVal otherSR As ISpatialReference _
) As Boolean
public bool IsMPrecisionEqual (
    ISpatialReference otherSR
);

ISpatialReference2GEN.IsPrecisionEqual Method

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

Public Sub IsPrecisionEqual ( _
    ByVal otherSR As ISpatialReference, _
    ByRef IsPrecisionEqual As Boolean _
)
public void IsPrecisionEqual (
    ISpatialReference otherSR,
    ref bool IsPrecisionEqual
);

ISpatialReference2GEN.IsXYPrecisionEqual Method

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

Public Function IsXYPrecisionEqual ( _
    ByVal otherSR As ISpatialReference _
) As Boolean
public bool IsXYPrecisionEqual (
    ISpatialReference otherSR
);

ISpatialReference2GEN.IsZPrecisionEqual Method

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

Public Function IsZPrecisionEqual ( _
    ByVal otherSR As ISpatialReference _
) As Boolean
public bool IsZPrecisionEqual (
    ISpatialReference otherSR
);

ISpatialReference2GEN.Name Property

The name of this spatial reference component.

Public ReadOnly Property Name As String
public string Name {get;}

ISpatialReference2GEN.PrecisionExImpl Property

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

Public ReadOnly Property PrecisionExImpl As Long
public long PrecisionExImpl {get;}

ISpatialReference2GEN.PrecisionImpl Property

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

Public ReadOnly Property PrecisionImpl As Long
public long PrecisionImpl {get;}

ISpatialReference2GEN.Remarks Property

The comment string of this spatial reference component.

Public ReadOnly Property Remarks As String
public string Remarks {get;}

ISpatialReference2GEN.SetDomain Method

Set the xy domain extent.

Public Sub SetDomain ( _
    ByVal XMin As Double, _
    ByVal XMax As Double, _
    ByVal YMin As Double, _
    ByVal YMax As Double _
)
public void SetDomain (
    double XMin,
    double XMax,
    double YMin,
    double YMax
);

ISpatialReference2GEN.SetFalseOriginAndUnits Method

Set the false origin and units.

Public Sub SetFalseOriginAndUnits ( _
    ByVal falseX As Double, _
    ByVal falseY As Double, _
    ByVal xyUnits As Double _
)
public void SetFalseOriginAndUnits (
    double falseX,
    double falseY,
    double xyUnits
);

ISpatialReference2GEN.SetMDomain Method

Set the measure domain extent.

Public Sub SetMDomain ( _
    ByVal inMMin As Double, _
    ByVal inMMax As Double _
)
public void SetMDomain (
    double inMMin,
    double inMMax
);

ISpatialReference2GEN.SetMFalseOriginAndUnits Method

Set the measure false origin and units.

Public Sub SetMFalseOriginAndUnits ( _
    ByVal falseM As Double, _
    ByVal mUnits As Double _
)
public void SetMFalseOriginAndUnits (
    double falseM,
    double mUnits
);

ISpatialReference2GEN.SetZDomain Method

Set the z domain extent.

Public Sub SetZDomain ( _
    ByVal inZMin As Double, _
    ByVal inZMax As Double _
)
public void SetZDomain (
    double inZMin,
    double inZMax
);

ISpatialReference2GEN.SetZFalseOriginAndUnits Method

Set the Z false origin and units.

Public Sub SetZFalseOriginAndUnits ( _
    ByVal falseZ As Double, _
    ByVal zUnits As Double _
)
public void SetZFalseOriginAndUnits (
    double falseZ,
    double zUnits
);

ISpatialReference2GEN.SpatialReferenceImpl Property

SpatialReferenceImpl.

Public ReadOnly Property SpatialReferenceImpl As Long
public long SpatialReferenceImpl {get;}

ISpatialReference2GEN.ZCoordinateUnit Property

The unit for the Z coordinate.

Public Property ZCoordinateUnit As ILinearUnit
public ILinearUnit ZCoordinateUnit {get; set;}

Classes that implement ISpatialReference2GEN

Classes Description
GeographicCoordinateSystem Creates a geographic coordinate system.
ProjectedCoordinateSystem Creates a projected coordinate system.
UnknownCoordinateSystem Creates an unknown coordinate system.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.