internal override void CopyValues(IfcObjectPlacement value) { IfcLocalPlacement lp = value as IfcLocalPlacement; PlacementRelTo = lp.PlacementRelTo; RelativePlacement = lp.RelativePlacement; }
internal XbimLocalPlacement(XbimDocument Document, IfcLocalPlacement LocalPlacement) { if (Document == null || LocalPlacement == null) throw new ArgumentNullException(); _document = Document; _localPlacement = LocalPlacement; }
internal XbimLocalPlacement(XbimDocument Document, double placementX, double placementY, double placementZ) { _document = Document; _localPlacement = _document.Model.Instances.New<IfcLocalPlacement>(); _localPlacement.RelativePlacement = _document.Model.Instances.New<IfcAxis2Placement3D>(); IfcAxis2Placement3D placenemt = _localPlacement.RelativePlacement as IfcAxis2Placement3D; placenemt.SetNewLocation(placementX, placementY, placementZ); }
internal XbimLocalPlacement(XbimDocument Document, XbimAxis2Placement3D axisToPlacement) { _document = Document; _localPlacement = _document.Model.Instances.New<IfcLocalPlacement>(); _localPlacement.RelativePlacement = axisToPlacement._ifcAxis2Placement; }
public XbimPlacementNode(IfcLocalPlacement placement) { PlacementLabel = placement.EntityLabel; Matrix = placement.RelativePlacement.ToMatrix3D(); _isAdjustedToGlobal = false; }