public class BimModelObject extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IGeoDataset, IGeoDatasetSchemaEdit, ICadTransformations, IPersistStream, java.io.Externalizable
Description 'Esri BIM File Model class.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
IID, IID6b267c02_28cc_11d3_9f67_00c04f6bdf0c, xxDummyIID, IIDe37f71ab_bfb1_11d2_9b20_00c04fa33299, xxDummyIID, IID00000109_0000_0000_c000_000000000046, xxDummyIID0000010c_0000_0000_c000_000000000046| Constructor and Description |
|---|
BimModelObject()
Constructs a BimModelObject using ArcGIS Engine.
|
BimModelObject(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
BimModelObject theBimModelObject = (BimModelObject) obj; |
| Modifier and Type | Method and Description |
|---|---|
void |
alterSpatialReference(ISpatialReference spatialReference)
Alters the spatial reference of the dataset to match the coordinate system of the input spatial reference, does not reproject the data.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
void |
getClassID(GUID[] pClassID)
getClassID
|
static java.lang.String |
getClsid()
getClsid.
|
IEnvelope |
getExtent()
The extent of the GeoDataset.
|
void |
getFromToTransform(_WKSPoint[] fromPoint1,
_WKSPoint[] fromPoint2,
_WKSPoint[] toPoint1,
_WKSPoint[] toPoint2)
Returns the points of a two point transformation.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax
|
ISpatialReference |
getSpatialReference()
The spatial reference of the GeoDataset.
|
void |
getTransformation(_WKSPoint[] from,
_WKSPoint[] to,
double[] angle,
double[] scale)
Returns the rotation, scale, and translation of a transformation.
|
int |
getTransformMode()
The transformation type.
|
java.lang.String |
getWorldFileName()
The pathname of the world file.
|
int |
hashCode()
the hashcode for this object
|
boolean |
isCanAlterSpatialReference()
Indicates if the spatial reference of the dataset can be altered.
|
void |
isDirty()
isDirty
|
boolean |
isEnableTransformations()
Indicates if global transformations are enabled.
|
void |
load(IStream pstm)
load
|
void |
readExternal(java.io.ObjectInput in) |
void |
release()
Release this COM object reference
|
void |
save(IStream pstm,
int fClearDirty)
save
|
void |
setEnableTransformations(boolean enabled)
Indicates if global transformations are enabled.
|
void |
setFromToTransform(_WKSPoint fromPoint1,
_WKSPoint fromPoint2,
_WKSPoint toPoint1,
_WKSPoint toPoint2)
Sets the points of a two point transformation.
|
void |
setTransformation(_WKSPoint from,
_WKSPoint to,
double angle,
double scale)
Sets the rotation, scale, and translation of a transformation.
|
void |
setTransformMode(int mode)
The transformation type.
|
void |
setWorldFileName(java.lang.String filePath)
The pathname of the world file.
|
void |
writeExternal(java.io.ObjectOutput out) |
public static final long serialVersionUID
public BimModelObject()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problemsjava.net.UnknownHostException - if there are interop problemspublic BimModelObject(java.lang.Object obj)
throws java.io.IOException
BimModelObject theBimModelObject = (BimModelObject) obj;obj to BimModelObject.obj - an object returned from ArcGIS Engine or Serverjava.io.IOException - if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRefpublic ISpatialReference getSpatialReference() throws java.io.IOException, AutomationException
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.
getSpatialReference in interface IGeoDatasetjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IEnvelope getExtent() throws java.io.IOException, AutomationException
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.
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.
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.
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.
getExtent in interface IGeoDatasetjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isCanAlterSpatialReference()
throws java.io.IOException,
AutomationException
isCanAlterSpatialReference in interface IGeoDatasetSchemaEditjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void alterSpatialReference(ISpatialReference spatialReference) throws java.io.IOException, AutomationException
alterSpatialReference in interface IGeoDatasetSchemaEditspatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isEnableTransformations()
throws java.io.IOException,
AutomationException
isEnableTransformations in interface ICadTransformationsjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setEnableTransformations(boolean enabled)
throws java.io.IOException,
AutomationException
setEnableTransformations in interface ICadTransformationsenabled - The enabled (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getWorldFileName()
throws java.io.IOException,
AutomationException
getWorldFileName in interface ICadTransformationsjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setWorldFileName(java.lang.String filePath)
throws java.io.IOException,
AutomationException
setWorldFileName in interface ICadTransformationsfilePath - The filePath (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getTransformMode()
throws java.io.IOException,
AutomationException
getTransformMode in interface ICadTransformationsjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setTransformMode(int mode)
throws java.io.IOException,
AutomationException
setTransformMode in interface ICadTransformationsmode - A com.esri.arcgis.datasourcesfile.esriCadTransform constant (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void getFromToTransform(_WKSPoint[] fromPoint1, _WKSPoint[] fromPoint2, _WKSPoint[] toPoint1, _WKSPoint[] toPoint2) throws java.io.IOException, AutomationException
getFromToTransform in interface ICadTransformationsfromPoint1 - A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef) (out: use single element array)fromPoint2 - A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef) (out: use single element array)toPoint1 - A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef) (out: use single element array)toPoint2 - A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef) (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setFromToTransform(_WKSPoint fromPoint1, _WKSPoint fromPoint2, _WKSPoint toPoint1, _WKSPoint toPoint2) throws java.io.IOException, AutomationException
setFromToTransform in interface ICadTransformationsfromPoint1 - A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef) (in)fromPoint2 - A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef) (in)toPoint1 - A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef) (in)toPoint2 - A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef) (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void getTransformation(_WKSPoint[] from, _WKSPoint[] to, double[] angle, double[] scale) throws java.io.IOException, AutomationException
getTransformation in interface ICadTransformationsfrom - A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef) (out: use single element array)to - A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef) (out: use single element array)angle - The angle (out: use single element array)scale - The scale (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setTransformation(_WKSPoint from, _WKSPoint to, double angle, double scale) throws java.io.IOException, AutomationException
setTransformation in interface ICadTransformationsfrom - A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef) (in)to - A Structure: com.esri.arcgis.system._WKSPoint (A com.esri.arcgis.system._WKSPoint COM typedef) (in)angle - The angle (in)scale - The scale (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void isDirty()
throws java.io.IOException,
AutomationException
isDirty in interface IPersistStreamjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void load(IStream pstm) throws java.io.IOException, AutomationException
load in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void save(IStream pstm, int fClearDirty) throws java.io.IOException, AutomationException
save in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)fClearDirty - The fClearDirty (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] pcbSize) throws java.io.IOException, AutomationException
getSizeMax in interface IPersistStreampcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws java.io.IOException, AutomationException
getClassID in interface IPersistpClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOExceptionpublic void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOExceptionjava.lang.ClassNotFoundException