Class XbimModelFactors
Inheritance
System.Object
XbimModelFactors
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.Common.dll
Syntax
public class XbimModelFactors : IModelFactors
Constructors
|
Improve this Doc
View Source
XbimModelFactors(Double, Double, Double)
Declaration
public XbimModelFactors(double angToRads, double lenToMeter, double precision)
Parameters
Type |
Name |
Description |
System.Double |
angToRads |
|
System.Double |
lenToMeter |
|
System.Double |
precision |
|
Properties
|
Improve this Doc
View Source
AngleToRadiansConversionFactor
Convert degrees to radians
Declaration
public 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
public 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
public double DeflectionTolerance { get; set; }
Property Value
Type |
Description |
System.Double |
|
|
Improve this Doc
View Source
LengthToMetresConversionFactor
Declaration
public 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
public int MaxBRepSewFaceCount { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Declaration
public double OneFoot { get; }
Property Value
Type |
Description |
System.Double |
|
|
Improve this Doc
View Source
OneInch
Declaration
public double OneInch { get; }
Property Value
Type |
Description |
System.Double |
|
|
Improve this Doc
View Source
OneKilometer
Declaration
public double OneKilometer { get; }
Property Value
Type |
Description |
System.Double |
|
|
Improve this Doc
View Source
OneMeter
Declaration
public double OneMeter { get; }
Property Value
Type |
Description |
System.Double |
|
|
Improve this Doc
View Source
OneMetre
Declaration
public double OneMetre { get; }
Property Value
Type |
Description |
System.Double |
|
|
Improve this Doc
View Source
OneMile
Declaration
public double OneMile { get; }
Property Value
Type |
Description |
System.Double |
|
|
Improve this Doc
View Source
OneMilliMeter
Declaration
public 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
public 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
public 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
public 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
public 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
public 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
public 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
public 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
public 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
public 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
public double VertexPointDiameter { get; }
Property Value
Type |
Description |
System.Double |
|
Methods
|
Improve this Doc
View Source
AddWorkAround(String)
Declaration
public void AddWorkAround(string workAroundName)
Parameters
Type |
Name |
Description |
System.String |
workAroundName |
|
|
Improve this Doc
View Source
ApplyWorkAround(String)
returns true if a model specific work around needs to be applied
Declaration
public bool ApplyWorkAround(string workAroundName)
Parameters
Type |
Name |
Description |
System.String |
workAroundName |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
GetGeometryDoubleHash(Double)
Declaration
public int GetGeometryDoubleHash(double number)
Parameters
Type |
Name |
Description |
System.Double |
number |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
GetGeometryFloatHash(Single)
Declaration
public 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
public void Initialise(double angToRads, double lenToMeter, double defaultPrecision)
Parameters
Type |
Name |
Description |
System.Double |
angToRads |
|
System.Double |
lenToMeter |
|
System.Double |
defaultPrecision |
|
Implements