Class XbimShapeInstance
A shape with a shapegeometry that has been placed as a specific instance in the scene
i.e. it has had all maps performed and it has been transformed to the correct location
This represents a geometry mesh, with a texture that is placed in world coordinate systems
Inheritance
System.Object
XbimShapeInstance
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()
Assembly: Xbim.Common.dll
Syntax
public class XbimShapeInstance : IXbimShapeInstanceData
Constructors
|
Improve this Doc
View Source
XbimShapeInstance(Int32)
Declaration
public XbimShapeInstance(int id = -1)
Parameters
Type |
Name |
Description |
System.Int32 |
id |
|
Properties
|
Improve this Doc
View Source
BoundingBox
The bounding box of this instance, does not require tranformation to place in world coordinates
Declaration
public XbimRect3D BoundingBox { get; set; }
Property Value
|
Improve this Doc
View Source
HasStyle
returns true if the shape instance has a defined style
Declaration
public bool HasStyle { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IfcProductLabel
The label of the IFC Product that this instance defines (either partially or completely)
Declaration
public int IfcProductLabel { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
IfcTypeId
The IFC type (as short) of the product this instance represents
Declaration
public short IfcTypeId { get; set; }
Property Value
Type |
Description |
System.Int16 |
|
|
Improve this Doc
View Source
InstanceLabel
The unique label of this shape instance
Declaration
public int InstanceLabel { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RepresentationContext
The label of the IFC representation context of this instance
Declaration
public int RepresentationContext { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RepresentationType
What type of representation, typically this is how the shape has been generated
(i.e. openings have been applied or not applied)
Declaration
public XbimGeometryRepresentationType RepresentationType { get; set; }
Property Value
|
Improve this Doc
View Source
ShapeGeometryLabel
The pointer to the shape that this is an instance of
Declaration
public int ShapeGeometryLabel { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
StyleLabel
The style that this shape is presented in when it overrides the shape style
Declaration
public int StyleLabel { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
The transformation matrix to be applied to the shape so that the instance is placed relatively to the rest of the model
Declaration
public XbimMatrix3D Transformation { get; set; }
Property Value
Methods
|
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
IXbimShapeInstanceData.BoundingBox
The bounding box of this instance, does not require tranformation to place in world coordinates
Declaration
byte[] IXbimShapeInstanceData.BoundingBox { get; set; }
Returns
Type |
Description |
System.Byte[] |
|
|
Improve this Doc
View Source
IXbimShapeInstanceData.RepresentationType
What type of representation, typically this is how the shape has been generated, i.e. openings have been applied or not applied
Declaration
byte IXbimShapeInstanceData.RepresentationType { get; set; }
Returns
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
Declaration
byte[] IXbimShapeInstanceData.Transformation { get; set; }
Returns
Type |
Description |
System.Byte[] |
|
Implements