Class BimModelObjectClass

Namespace
ESRI.ArcGIS.DatasourcesFile
Assembly
ESRI.Server.DatasourcesFile.dll
[Guid("E2421700-00C5-415C-8969-B35DA1CBC0D8")]
[ClassInterface(ClassInterfaceType.None)]
public class BimModelObjectClass : BimModelObject, IGeoDataset, IGeoDatasetSchemaEdit, ICadTransformations, IPersistStream, IPersist
Inheritance
BimModelObjectClass
Implements
Inherited Members

Constructors

BimModelObjectClass()

public BimModelObjectClass()

Explicit Interface Implementations

AlterSpatialReference(ISpatialReference)

Alters the spatial reference of the dataset to match the coordinate system of the input spatial reference, does not reproject the data.

virtual void AlterSpatialReference(ISpatialReference SpatialReference)

Parameters

SpatialReference ISpatialReference

CanAlterSpatialReference

Indicates if the spatial reference of the dataset can be altered.

virtual bool CanAlterSpatialReference { get; }

Returns

bool

EnableTransformations

Indicates if global transformations are enabled.

virtual bool EnableTransformations { get; set; }

Returns

bool

Extent

The extent of the GeoDataset.

virtual IEnvelope Extent { get; }

Returns

IEnvelope

Remarks

The IGeoDataset::Extent property returns an envelope representing the maximum extent of data which has been stored in the dataset.

Consider the following scenario. A new feature class has features added to it. The IGeoDataset::Extent is then requested and an envelope is returned. The extents of the envelope returned are represented by the red box in the image below.

The red box represents the IGeoDataset extent

If a portion of the features were then deleted and the extent is again requested an envelope with the exact same extents as during the first request would be returned (see image below). This is because the deletion of features does not shrink the extent. However all additions of features outside the red box would increase the envelope returned to encompass the newly added features.

The red box represents the IGeoDataset extent after some of the features have been deleted

If you would like to update the IGeoDataset::Extent property to reflect the current features in your dataset please see IFeatureClassManage::UpdateExtent (also see IFeatureClassLoad). In the image below the extent has been updated and a new envelope is being returned.

The red box represents the IGeoDataset extent after it has been updated

ESRI's GroupLayer implements this property differently from most other layer coclasses. When you instantiate a new GroupLayer, this property will return a valid envelope with zero height and width. With most other newly instantiated layers (for example FeatureLayer, RasterLayer, TinLayer), this property initally returns Nothing.

 

GetClassID(out Guid)

virtual void GetClassID(out Guid pClassID)

Parameters

pClassID Guid

GetFromToTransform(out WKSPoint, out WKSPoint, out WKSPoint, out WKSPoint)

Returns the points of a two point transformation.

virtual void GetFromToTransform(out WKSPoint fromPoint1, out WKSPoint fromPoint2, out WKSPoint toPoint1, out WKSPoint toPoint2)

Parameters

fromPoint1 WKSPoint
fromPoint2 WKSPoint
toPoint1 WKSPoint
toPoint2 WKSPoint

GetSizeMax(out _ULARGE_INTEGER)

virtual void GetSizeMax(out _ULARGE_INTEGER pcbSize)

Parameters

pcbSize _ULARGE_INTEGER

GetTransformation(out WKSPoint, out WKSPoint, out double, out double)

Returns the rotation, scale, and translation of a transformation.

virtual void GetTransformation(out WKSPoint from, out WKSPoint to, out double angle, out double Scale)

Parameters

from WKSPoint
to WKSPoint
angle double
Scale double

IsDirty()

virtual void IsDirty()

Load(IStream)

virtual void Load(IStream pstm)

Parameters

pstm IStream

Save(IStream, int)

virtual void Save(IStream pstm, int fClearDirty)

Parameters

pstm IStream
fClearDirty int

SetFromToTransform(ref WKSPoint, ref WKSPoint, ref WKSPoint, ref WKSPoint)

Sets the points of a two point transformation.

virtual void SetFromToTransform(ref WKSPoint fromPoint1, ref WKSPoint fromPoint2, ref WKSPoint toPoint1, ref WKSPoint toPoint2)

Parameters

fromPoint1 WKSPoint
fromPoint2 WKSPoint
toPoint1 WKSPoint
toPoint2 WKSPoint

SetTransformation(ref WKSPoint, ref WKSPoint, double, double)

Sets the rotation, scale, and translation of a transformation.

virtual void SetTransformation(ref WKSPoint from, ref WKSPoint to, double angle, double Scale)

Parameters

from WKSPoint
to WKSPoint
angle double
Scale double

SpatialReference

The spatial reference of the GeoDataset.

virtual ISpatialReference SpatialReference { get; }

Returns

ISpatialReference

Remarks

This property is read only. For layers, when the first layer is added to ArcMap, its spatial reference is read by this property, and the map is set to this spatial reference.

Instances of the esriCarto.GroupLayer class will return null for this property, as a group layer can contain multiple datasets with different spatial references.

Modifications to a spatial reference returned by this property will not be persisted. To modify the spatial reference of a dataset, the IGeoDatasetSchemaEdit and IGeoDatasetSchemaEdit2 interfaces should be used.

TransformMode

The transformation type.

virtual esriCadTransform TransformMode { get; set; }

Returns

esriCadTransform

WorldFileName

The pathname of the world file.

virtual string WorldFileName { get; set; }

Returns

string