internal override void CopyValues(IfcObjectPlacement value)
        {
            IfcLocalPlacement lp = value as IfcLocalPlacement;

            PlacementRelTo    = lp.PlacementRelTo;
            RelativePlacement = lp.RelativePlacement;
        }
示例#2
0
        internal XbimLocalPlacement(XbimDocument Document, IfcLocalPlacement LocalPlacement)
        {
            if (Document == null || LocalPlacement == null) throw new ArgumentNullException();

            _document = Document;
            _localPlacement = LocalPlacement;
        }
示例#3
0
 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);
 }
示例#4
0
 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;
 }