Search Results for

    Show / Hide Table of Contents

    Class XbimShapeGeometry

    A basic shape geoemetry, note this is independent of placement and not specific to any product

    Inheritance
    System.Object
    XbimShapeGeometry
    Implements
    IXbimShapeGeometryData
    Inherited Members
    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()
    Namespace: Xbim.Common.Geometry
    Assembly: Xbim.Common.dll
    Syntax
    public class XbimShapeGeometry : IXbimShapeGeometryData

    Properties

    | Improve this Doc View Source

    BoundingBox

    The bounding box of this instance, requires tranformation to place in world coordinates

    Declaration
    public XbimRect3D BoundingBox { get; set; }
    Property Value
    Type Description
    XbimRect3D
    | Improve this Doc View Source

    Cost

    The cost in bytes of this shape

    Declaration
    public int Cost { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    FaceCount

    Declaration
    public int FaceCount { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    Faces

    Declaration
    public IEnumerable<WexBimMeshFace> Faces { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<WexBimMeshFace>
    | Improve this Doc View Source

    Format

    The format in which the shape data is represented, i.e. triangular mesh, polygon, opencascade

    Declaration
    public XbimGeometryType Format { get; set; }
    Property Value
    Type Description
    XbimGeometryType
    | Improve this Doc View Source

    GeometryHash

    Hash of the shape Geometry, based on the IFC representation, this is not unique

    Declaration
    public int GeometryHash { get; set; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    IfcShapeLabel

    The label of the IFC object that defines this shape

    Declaration
    public int IfcShapeLabel { get; set; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    IsValid

    Returns true if the geometry is valid

    Declaration
    public bool IsValid { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Item[Int32]

    Returns the vector at the specified position

    Declaration
    public XbimPoint3D this[int vectorIndex] { get; }
    Parameters
    Type Name Description
    System.Int32 vectorIndex
    Property Value
    Type Description
    XbimPoint3D
    | Improve this Doc View Source

    Length

    Declaration
    public int Length { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    LocalShapeDisplacement

    Declaration
    public XbimVector3D? LocalShapeDisplacement { get; set; }
    Property Value
    Type Description
    System.Nullable<XbimVector3D>
    | Improve this Doc View Source

    LOD

    The level of detail or development that the shape is suited for

    Declaration
    public XbimLOD LOD { get; set; }
    Property Value
    Type Description
    XbimLOD
    | Improve this Doc View Source

    ReferenceCount

    The number of references to this shape

    Declaration
    public int ReferenceCount { get; set; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    ShapeData

    The geometry data defining the shape

    Declaration
    public string ShapeData { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    ShapeLabel

    The unique label of this shape geometry

    Declaration
    public int ShapeLabel { get; set; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    TriangleCount

    Declaration
    public int TriangleCount { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    Version

    Declaration
    public byte Version { get; }
    Property Value
    Type Description
    System.Byte
    | Improve this Doc View Source

    VertexCount

    Declaration
    public int VertexCount { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    Vertices

    Declaration
    public IEnumerable<XbimPoint3D> Vertices { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<XbimPoint3D>

    Methods

    | Improve this Doc View Source

    ToByteArray()

    Declaration
    public byte[] ToByteArray()
    Returns
    Type Description
    System.Byte[]
    | Improve this Doc View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()

    Explicit Interface Implementations

    | Improve this Doc View Source

    IXbimShapeGeometryData.BoundingBox

    The bounding box of this instance, requires tranformation to place in world coordinates

    Declaration
    byte[] IXbimShapeGeometryData.BoundingBox { get; set; }
    Returns
    Type Description
    System.Byte[]
    | Improve this Doc View Source

    IXbimShapeGeometryData.Format

    The format in which the shape data is represented, i.e. triangular mesh, polygon, opencascade as a byte

    Declaration
    byte IXbimShapeGeometryData.Format { get; set; }
    Returns
    Type Description
    System.Byte
    | Improve this Doc View Source

    IXbimShapeGeometryData.LocalShapeDisplacement

    If the shape coordinates are large the actual serialised geometry should be reduced to local origin to avoid problems with floating point precission of float coordinates. This displacement should be presented in LocalShapeDisplacement and should be added to placement of the shape in the product.

    Declaration
    IVector3D IXbimShapeGeometryData.LocalShapeDisplacement { get; }
    Returns
    Type Description
    IVector3D
    | Improve this Doc View Source

    IXbimShapeGeometryData.LOD

    Declaration
    byte IXbimShapeGeometryData.LOD { get; set; }
    Returns
    Type Description
    System.Byte
    | Improve this Doc View Source

    IXbimShapeGeometryData.ShapeData

    Declaration
    byte[] IXbimShapeGeometryData.ShapeData { get; set; }
    Returns
    Type Description
    System.Byte[]
    | Improve this Doc View Source

    IXbimShapeGeometryData.ShapeDataCompressed

    The geometry data defining the shape, this is a compressed representation of the data

    Declaration
    byte[] IXbimShapeGeometryData.ShapeDataCompressed { get; set; }
    Returns
    Type Description
    System.Byte[]

    Implements

    IXbimShapeGeometryData
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2022 xbim