本文整理汇总了C#中GeometryGym.Ifc.IfcProductRepresentation类的典型用法代码示例。如果您正苦于以下问题:C# IfcProductRepresentation类的具体用法?C# IfcProductRepresentation怎么用?C# IfcProductRepresentation使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
IfcProductRepresentation类属于GeometryGym.Ifc命名空间,在下文中一共展示了IfcProductRepresentation类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: IfcCivilElement
public IfcCivilElement(IfcProduct host, IfcObjectPlacement p, IfcProductRepresentation r) : base(host, p, r) { if (mDatabase.mSchema == Schema.IFC2x3) throw new Exception(KeyWord + " only supported in IFC4!"); }
开发者ID:jenca-cloud,项目名称:ggIFC,代码行数:1,代码来源:IFC+C.cs
示例2: IfcVoidingFeature
public IfcVoidingFeature(IfcElement host,IfcProductRepresentation rep,IfcVoidingFeatureTypeEnum type) : base(host,rep) { mPredefinedType = type; }
开发者ID:jenca-cloud,项目名称:ggIFC,代码行数:1,代码来源:IFC+V.cs
示例3: IfcWasteTerminal
internal IfcWasteTerminalTypeEnum mPredefinedType = IfcWasteTerminalTypeEnum.NOTDEFINED; // OPTIONAL : IfcWasteTerminalTypeEnum;
#endregion Fields
#region Constructors
public IfcWasteTerminal(IfcObjectDefinition host, IfcObjectPlacement placement, IfcProductRepresentation representation, IfcDistributionSystem system)
: base(host, placement, representation, system)
{
}
开发者ID:jmirtsch,项目名称:GeometryGymIFC,代码行数:10,代码来源:IFC+W.cs
示例4: IfcTendon
internal IfcTendon(IfcProduct host, IfcObjectPlacement placement, IfcProductRepresentation representation, double diam, double area, double forceMeasure, double pretress, double fricCoeff, double anchorSlip, double minCurveRadius)
: base(host, placement,representation)
{
mNominalDiameter = diam;
mCrossSectionArea = area;
mTensionForce = forceMeasure;
mPreStress = pretress;
mFrictionCoefficient = fricCoeff;
mAnchorageSlip = anchorSlip;
mMinCurvatureRadius = minCurveRadius;
}
开发者ID:jenca-cloud,项目名称:ggIFC,代码行数:11,代码来源:IFC+T.cs
示例5: IfcTransportElement
internal IfcTransportElement(IfcProduct host, IfcObjectPlacement placement, IfcProductRepresentation representation) : base(host, placement, representation) { }
开发者ID:jenca-cloud,项目名称:ggIFC,代码行数:1,代码来源:IFC+T.cs
示例6: constructElement
internal static IfcElement constructElement(string className, IfcProduct container, IfcObjectPlacement pl, IfcProductRepresentation r, IfcDistributionSystem system)
{
string str = className, definedType = "";
if (!string.IsNullOrEmpty(str))
{
string[] fields = str.Split(".".ToCharArray());
if (fields.Length > 1)
{
str = fields[0];
definedType = fields[1];
}
}
IfcElement element = null;
Type type = Type.GetType("GeometryGym.Ifc." + str);
if (type != null)
{
ConstructorInfo ctor = type.GetConstructor(new[] { typeof(IfcProduct), typeof(IfcObjectPlacement), typeof(IfcProductRepresentation) });
if (ctor == null)
{
ctor = type.GetConstructor(new[] { typeof(IfcProduct), typeof(IfcObjectPlacement), typeof(IfcProductRepresentation), typeof(IfcDistributionSystem) });
if (ctor == null)
throw new Exception("XXX Unrecognized Ifc Constructor for " + className);
else
element = ctor.Invoke(new object[] { container, pl, r, system }) as IfcElement;
}
else
element = ctor.Invoke(new object[] { container, pl, r }) as IfcElement;
}
if (element == null)
element = new IfcBuildingElementProxy(container, pl, r);
if (!string.IsNullOrEmpty(definedType))
{
if (container.mDatabase.mSchema == Schema.IFC2x3)
element.ObjectType = definedType;
else
{
type = element.GetType();
PropertyInfo pi = type.GetProperty("PredefinedType");
if (pi != null)
{
Type enumType = Type.GetType("GeometryGym.Ifc." + type.Name + "TypeEnum");
if (enumType != null)
{
FieldInfo fi = enumType.GetField(definedType);
if (fi == null)
{
element.ObjectType = definedType;
fi = enumType.GetField("NOTDEFINED");
}
if (fi != null)
{
int i = (int)fi.GetValue(enumType);
object newEnumValue = Enum.ToObject(enumType, i);
pi.SetValue(element, newEnumValue, null);
}
else
element.ObjectType = definedType;
}
else
element.ObjectType = definedType;
}
else
element.ObjectType = definedType;
}
}
return element;
}
开发者ID:jenca-cloud,项目名称:ggIFC,代码行数:68,代码来源:IFC+E.cs
示例7: IfcEnergyConversionDevice
internal IfcEnergyConversionDevice(IfcProduct host, IfcObjectPlacement placement, IfcProductRepresentation representation, IfcDistributionSystem system) : base(host, placement, representation, system) { }
开发者ID:jenca-cloud,项目名称:ggIFC,代码行数:1,代码来源:IFC+E.cs
示例8: IfcFeatureElementSubtraction
protected IfcFeatureElementSubtraction(IfcElement host, IfcProductRepresentation rep)
: base(host.mDatabase)
{
new IfcRelVoidsElement(host, this);
Representation = rep;
Placement = new IfcLocalPlacement(host.Placement, mDatabase.Factory.PlaneXYPlacement);
}
开发者ID:jmirtsch,项目名称:GeometryGymIFC,代码行数:7,代码来源:IFC+F.cs
示例9: IfcFilter
internal IfcFilter(IfcObjectDefinition host, IfcObjectPlacement placement, IfcProductRepresentation representation, IfcDistributionSystem system)
: base(host, placement, representation, system)
{
}
开发者ID:jmirtsch,项目名称:GeometryGymIFC,代码行数:4,代码来源:IFC+F.cs
示例10: IfcFastener
internal IfcFastener(IfcObjectDefinition host, IfcObjectPlacement placement, IfcProductRepresentation representation)
: base(host, placement, representation)
{
}
开发者ID:jmirtsch,项目名称:GeometryGymIFC,代码行数:4,代码来源:IFC+F.cs
示例11: IfcFeatureElement
protected IfcFeatureElement(IfcObjectDefinition host, IfcObjectPlacement placement, IfcProductRepresentation representation)
: base(host, placement, representation)
{
}
开发者ID:jmirtsch,项目名称:GeometryGymIFC,代码行数:4,代码来源:IFC+F.cs
示例12: IfcFurnishingElement
internal IfcFurnishingElement(IfcObjectDefinition host, IfcObjectPlacement placement, IfcProductRepresentation representation)
: base(host, placement, representation)
{
}
开发者ID:jmirtsch,项目名称:GeometryGymIFC,代码行数:4,代码来源:IFC+F.cs
示例13: IfcFlowFitting
public IfcFlowFitting(IfcObjectDefinition host, IfcObjectPlacement placement, IfcProductRepresentation representation, IfcDistributionSystem system)
: base(host, placement, representation, system)
{
}
开发者ID:jmirtsch,项目名称:GeometryGymIFC,代码行数:4,代码来源:IFC+F.cs
示例14: IfcColumn
public IfcColumn(IfcProduct host, IfcObjectPlacement p, IfcProductRepresentation r) : base(host, p, r) { }
开发者ID:jenca-cloud,项目名称:ggIFC,代码行数:1,代码来源:IFC+C.cs
示例15: IfcElement
protected IfcElement(IfcProduct host, IfcObjectPlacement p, IfcProductRepresentation r) : base(host, p, r) { }
开发者ID:jenca-cloud,项目名称:ggIFC,代码行数:1,代码来源:IFC+E.cs
示例16: IfcMechanicalFastener
internal IfcMechanicalFastener(IfcProduct host, IfcObjectPlacement placement, IfcProductRepresentation representation) : base(host, placement, representation) { }
开发者ID:jenca-cloud,项目名称:ggIFC,代码行数:1,代码来源:IFC+M.cs
示例17: IfcRoof
public IfcRoof(IfcProduct host, IfcObjectPlacement placement, IfcProductRepresentation representation) : base(host, placement, representation) { }
开发者ID:jenca-cloud,项目名称:ggIFC,代码行数:1,代码来源:IFC+R.cs
示例18: IfcElementComponent
protected IfcElementComponent(IfcProduct host, IfcObjectPlacement placement, IfcProductRepresentation representation) : base(host,placement,representation) { }
开发者ID:jenca-cloud,项目名称:ggIFC,代码行数:1,代码来源:IFC+E.cs
示例19: IfcReinforcingMesh
internal IfcReinforcingMesh(IfcProduct host, IfcObjectPlacement placement, IfcProductRepresentation representation) : base(host, placement, representation) { }
开发者ID:jenca-cloud,项目名称:ggIFC,代码行数:1,代码来源:IFC+R.cs
示例20: IfcEvaporativeCooler
internal IfcEvaporativeCooler(IfcProduct host, IfcObjectPlacement placement, IfcProductRepresentation representation, IfcDistributionSystem system) : base(host, placement, representation, system) { }
开发者ID:jenca-cloud,项目名称:ggIFC,代码行数:1,代码来源:IFC+E.cs
注:本文中的GeometryGym.Ifc.IfcProductRepresentation类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论