Search Results for

    Show / Hide Table of Contents

    Interface IModelFactors

    Namespace: Xbim.Common
    Assembly: Xbim.Common.dll
    Syntax
    public interface IModelFactors

    Properties

    | Improve this Doc View Source

    AngleToRadiansConversionFactor

    Convert degrees to radians

    Declaration
    double AngleToRadiansConversionFactor { get; }
    Property Value
    Type Description
    System.Double
    | Improve this Doc View Source

    DeflectionAngle

    The min angle used when meshing shapes, works with DeflectionTolerance to set the resolution for linearizing edges, default = 0.5

    Declaration
    double DeflectionAngle { get; set; }
    Property Value
    Type Description
    System.Double
    | Improve this Doc View Source

    DeflectionTolerance

    The defection on a curve when triangulating the model

    Declaration
    double DeflectionTolerance { get; set; }
    Property Value
    Type Description
    System.Double
    | Improve this Doc View Source

    LengthToMetresConversionFactor

    Conversion to metres

    Declaration
    double LengthToMetresConversionFactor { get; }
    Property Value
    Type Description
    System.Double
    | Improve this Doc View Source

    MaxBRepSewFaceCount

    The maximum number of faces to sew and check the result is a valid BREP, face sets with more than this number of faces will be processed as read from the model

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

    OneFoot

    Declaration
    double OneFoot { get; }
    Property Value
    Type Description
    System.Double
    | Improve this Doc View Source

    OneInch

    Declaration
    double OneInch { get; }
    Property Value
    Type Description
    System.Double
    | Improve this Doc View Source

    OneKilometer

    Declaration
    double OneKilometer { get; }
    Property Value
    Type Description
    System.Double
    | Improve this Doc View Source

    OneMeter

    Declaration
    double OneMeter { get; }
    Property Value
    Type Description
    System.Double
    | Improve this Doc View Source

    OneMetre

    Declaration
    double OneMetre { get; }
    Property Value
    Type Description
    System.Double
    | Improve this Doc View Source

    OneMile

    Declaration
    double OneMile { get; }
    Property Value
    Type Description
    System.Double
    | Improve this Doc View Source

    OneMilliMeter

    Declaration
    double OneMilliMeter { get; }
    Property Value
    Type Description
    System.Double
    | Improve this Doc View Source

    OneMilliMetre

    Returns the value for one millimetre in the units of the model

    Declaration
    double OneMilliMetre { get; }
    Property Value
    Type Description
    System.Double
    | Improve this Doc View Source

    Precision

    The normal tolerance under which two given points are still assumed to be identical

    Declaration
    double Precision { get; set; }
    Property Value
    Type Description
    System.Double
    | Improve this Doc View Source

    PrecisionBoolean

    Precision used for Boolean solid geometry operations, default 0.001mm

    Declaration
    double PrecisionBoolean { get; set; }
    Property Value
    Type Description
    System.Double
    | Improve this Doc View Source

    PrecisionBooleanMax

    The maximum Precision used for Boolean solid geometry operations, default 10mm

    Declaration
    double PrecisionBooleanMax { get; set; }
    Property Value
    Type Description
    System.Double
    | Improve this Doc View Source

    PrecisionMax

    Returns the value for one metre in the units of the model

    Declaration
    double PrecisionMax { get; set; }
    Property Value
    Type Description
    System.Double
    | Improve this Doc View Source

    ProfileDefLevelOfDetail

    Indicates level of detail for IfcProfileDefinitions, if 0 no fillet radii are applied, no leg slopes area applied, if 1 all details are applied

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

    Rounding

    The number of decimal places to round a number to in order to truncate distances, not to be confused with precision, this is mostly for hashing and reporting, precision determines if two points are the same. NB this must be less that the precision for Booleans

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

    ShortestEdgeLength

    If the SimplifyFaceCountThreshHold is greater than 0, this is the minimum length of any edge in a face in millimetres, default is 10mm

    Declaration
    double ShortestEdgeLength { get; set; }
    Property Value
    Type Description
    System.Double
    | Improve this Doc View Source

    SimplifyFaceCountThreshHold

    If this number is greater than 0, any faceted meshes will be simplified if the number of faces exceeds the threshold

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

    VertexPointDiameter

    Used to display a vertex this is the diameter that will be used to auto-generate a geometric representation of a topological vertex

    Declaration
    double VertexPointDiameter { get; }
    Property Value
    Type Description
    System.Double

    Methods

    | Improve this Doc View Source

    ApplyWorkAround(String)

    Declaration
    bool ApplyWorkAround(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    GetGeometryDoubleHash(Double)

    Declaration
    int GetGeometryDoubleHash(double number)
    Parameters
    Type Name Description
    System.Double number
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    GetGeometryFloatHash(Single)

    Declaration
    int GetGeometryFloatHash(float number)
    Parameters
    Type Name Description
    System.Single number
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    Initialise(Double, Double, Double)

    Declaration
    void Initialise(double angleToRadiansConversionFactor, double lengthToMetresConversionFactor, double defaultPrecision)
    Parameters
    Type Name Description
    System.Double angleToRadiansConversionFactor
    System.Double lengthToMetresConversionFactor
    System.Double defaultPrecision
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2022 xbim