Class EsentShapeGeometryCursor
Inheritance
System.Object
EsentShapeGeometryCursor
Implements
System.IDisposable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Xbim.IO.Esent.dll
Syntax
public class EsentShapeGeometryCursor : EsentCursor, IDisposable
Constructors
|
Improve this Doc
View Source
EsentShapeGeometryCursor(EsentModel, String)
Declaration
public EsentShapeGeometryCursor(EsentModel model, string database)
Parameters
Type |
Name |
Description |
EsentModel |
model |
|
System.String |
database |
|
|
Improve this Doc
View Source
EsentShapeGeometryCursor(EsentModel, String, OpenDatabaseGrbit)
Declaration
public EsentShapeGeometryCursor(EsentModel model, string database, OpenDatabaseGrbit mode)
Parameters
Type |
Name |
Description |
EsentModel |
model |
|
System.String |
database |
|
Microsoft.Isam.Esent.Interop.OpenDatabaseGrbit |
mode |
|
Fields
|
Improve this Doc
View Source
GeometryTableName
shape geometry table name
Declaration
public static string GeometryTableName
Field Value
Type |
Description |
System.String |
|
Methods
|
Improve this Doc
View Source
AddGeometry(IXbimShapeGeometryData)
Declaration
public int AddGeometry(IXbimShapeGeometryData shapeGeom)
Parameters
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
GetCost()
returns the cost for the current record, assume that TryMoveFirstReferenceCounter has been called
Declaration
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
GetReferenceCount()
returns the reference count for the current record, assume that TryMoveFirstReferenceCounter has been called
Declaration
public int GetReferenceCount()
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
GetReferenceCount(Int32)
fast retrieval of the reference counf for this geometry
Declaration
public int GetReferenceCount(int shapeGeometryLabel)
Parameters
Type |
Name |
Description |
System.Int32 |
shapeGeometryLabel |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
GetShapeGeometryLabel()
returns the geometry label for the current record, assume that the current index has been set to primary
Declaration
public int GetShapeGeometryLabel()
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
TryGetShapeGeometry(Int32, ref IXbimShapeGeometryData)
Returns the shape geometry for the specified label if it exists
Declaration
public bool TryGetShapeGeometry(int shapeGeometryLabel, ref IXbimShapeGeometryData sg)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
TryMoveFirstReferenceCounter()
Moves to the first Shape Geometry and sets the index to the reference counter index
Declaration
public bool TryMoveFirstReferenceCounter()
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
TryMoveFirstRegion(ref IXbimShapeGeometryData)
Declaration
public bool TryMoveFirstRegion(ref IXbimShapeGeometryData sg)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
TryMoveFirstShapeGeometry(ref IXbimShapeGeometryData)
Seeks and returns the first shape geometry
Declaration
public bool TryMoveFirstShapeGeometry(ref IXbimShapeGeometryData sg)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
TryMoveNextReferenceCounter()
Moves to the next shape geometry assumes TryMoveFirstReferenceCounter has been called
Declaration
public bool TryMoveNextReferenceCounter()
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
TryMoveNextShapeGeometry(ref IXbimShapeGeometryData)
Returns the next Shape geometry after a move or a seek call
Declaration
public bool TryMoveNextShapeGeometry(ref IXbimShapeGeometryData sg)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
UpdateCount(Int32)
Update the count of geometry entities in the globals table. This is done with EscrowUpdate
so that there won't be any write conflicts.
Declaration
protected override void UpdateCount(int delta)
Parameters
Type |
Name |
Description |
System.Int32 |
delta |
The delta to apply to the count.
|
Overrides
|
Improve this Doc
View Source
UpdateReferenceCount(Int32, Int32)
Declaration
public void UpdateReferenceCount(int geomLabel, int refCount)
Parameters
Type |
Name |
Description |
System.Int32 |
geomLabel |
|
System.Int32 |
refCount |
|
Implements
System.IDisposable