#[non_exhaustive]pub struct MemberConnectionDraft {
pub root: RelationshipRootDraft,
pub member: EntityId,
pub connection: EntityId,
pub applied_condition: Option<EntityId>,
pub additional_conditions: Option<EntityId>,
pub supported_length: Option<f64>,
pub condition_coordinate_system: Option<EntityId>,
pub eccentricity: Option<EntityId>,
}Expand description
Staged fields for creating an IfcRelConnectsStructuralMember via stage_member_connection.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.root: RelationshipRootDraftIfcRoot attributes shared with other staged structural relationships.
member: EntityIdRelatingStructuralMember.
connection: EntityIdRelatedStructuralConnection.
applied_condition: Option<EntityId>AppliedCondition, an IfcBoundaryCondition reference.
additional_conditions: Option<EntityId>AdditionalConditions, an IfcStructuralConnectionCondition reference.
supported_length: Option<f64>SupportedLength; must be a positive finite value when set.
condition_coordinate_system: Option<EntityId>ConditionCoordinateSystem, an IfcAxis2Placement3D reference.
eccentricity: Option<EntityId>ConnectionConstraint, an IfcConnectionGeometry reference.
Selects IfcRelConnectsWithEccentricity, whose only added slot
this is. The slot is required there, so a subtype cannot be
staged without it and the base cannot carry it.
Implementations§
Source§impl MemberConnectionDraft
impl MemberConnectionDraft
Sourcepub fn new(
root: RelationshipRootDraft,
member: EntityId,
connection: EntityId,
) -> Self
pub fn new( root: RelationshipRootDraft, member: EntityId, connection: EntityId, ) -> Self
Starts a draft from its required fields; every other field is unset.
Sourcepub fn applied_condition(self, value: EntityId) -> Self
pub fn applied_condition(self, value: EntityId) -> Self
Sets applied_condition: AppliedCondition, an IfcBoundaryCondition
reference.
Sourcepub fn additional_conditions(self, value: EntityId) -> Self
pub fn additional_conditions(self, value: EntityId) -> Self
Sets additional_conditions: AdditionalConditions, an
IfcStructuralConnectionCondition reference.
Sourcepub fn supported_length(self, value: f64) -> Self
pub fn supported_length(self, value: f64) -> Self
Sets supported_length: SupportedLength; must be a positive finite
value when set.
Sourcepub fn condition_coordinate_system(self, value: EntityId) -> Self
pub fn condition_coordinate_system(self, value: EntityId) -> Self
Sets condition_coordinate_system: ConditionCoordinateSystem, an
IfcAxis2Placement3D reference.
Sourcepub fn eccentricity(self, value: EntityId) -> Self
pub fn eccentricity(self, value: EntityId) -> Self
Sets eccentricity: ConnectionConstraint, an IfcConnectionGeometry
reference. Selects IfcRelConnectsWithEccentricity, whose only added
slot this is. The slot is required there, so a subtype cannot be staged
without it and the base cannot carry it.