/// <summary> /// If the DoorLiningProperties contain a ShapeAspectStyle, returns the model whose RepresentationIdentifier equals identifier /// </summary> /// <param name = "lProps"></param> /// <param name = "identifier">The RepresentationIdentifier to retrieve</param> /// <returns></returns> public static IfcShapeModel GetShapeModel(this IfcDoorLiningProperties lProps, string identifier) { if (lProps.ShapeAspectStyle == null) { return(null); } else { return(lProps.ShapeAspectStyle.ShapeRepresentations.Lookup(identifier)); } }
/// <summary> /// if the DoorLiningProperties contain a ShapeAspectStyle, returns the the ShapeModelList /// </summary> /// <param name = "lProps"></param> /// <returns></returns> public static ShapeModelList GetShapeModels(this IfcDoorLiningProperties lProps) { if (lProps.ShapeAspectStyle == null) { return(null); } else { return(lProps.ShapeAspectStyle.ShapeRepresentations); } }
/// <summary> /// if the DoorLiningProperties contain a ShapeAspectStyle, returns the the ShapeModelList /// </summary> /// <param name = "lProps"></param> /// <returns></returns> public static IItemSet <IfcShapeModel> GetShapeModels(this IfcDoorLiningProperties lProps) { return(lProps.ShapeAspectStyle == null ? null : lProps.ShapeAspectStyle.ShapeRepresentations); }