Search Results for

    Show / Hide Table of Contents

    Interface IGeometryStoreInitialiser

    Inherited Members
    System.IDisposable.Dispose()
    Namespace: Xbim.Common.Geometry
    Assembly: Xbim.Common.dll
    Syntax
    public interface IGeometryStoreInitialiser : IDisposable

    Methods

    | Improve this Doc View Source

    AddRegions(XbimRegionCollection)

    Adds a collection of geometric regions to the store, this groups geometries into major spatial collection areas

    Declaration
    int AddRegions(XbimRegionCollection regions)
    Parameters
    Type Name Description
    XbimRegionCollection regions
    Returns
    Type Description
    System.Int32

    the unique Id of the region collection

    | Improve this Doc View Source

    AddShapeGeometry(XbimShapeGeometry)

    Adds a shape geometry to the store under transaction

    Declaration
    int AddShapeGeometry(XbimShapeGeometry shapeGeometry)
    Parameters
    Type Name Description
    XbimShapeGeometry shapeGeometry
    Returns
    Type Description
    System.Int32

    Returns the ID of the shape geometry

    | Improve this Doc View Source

    AddShapeInstance(XbimShapeInstance, Int32)

    Adds a shape instance to the store under transaction

    Declaration
    int AddShapeInstance(XbimShapeInstance shapeInstance, int geometryId)
    Parameters
    Type Name Description
    XbimShapeInstance shapeInstance

    The shape instance data

    System.Int32 geometryId

    the Id of the geometry shape, must be obtained from AddShapeGeometry

    Returns
    Type Description
    System.Int32

    return the Id of the shape instance

    | Improve this Doc View Source

    Commit()

    Finalises an initialisation and flushes all operations to the store, the transaction must have been obtained from BeginInit

    Declaration
    void Commit()
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2022 xbim