Esempio n. 1
0
 internal FloorBorderProperties(
     FloorProperties floorProperties,
     FamilyType borderType,
     Level level)
 {
     FloorProperties = floorProperties;
     BorderType      = borderType;
     Level           = level;
 }
Esempio n. 2
0
 public static FloorBorderProperties ByData(
     FloorProperties floorProperties,
     FamilyType borderType,
     Level level)
 {
     return(new FloorBorderProperties(
                floorProperties,
                borderType,
                level));
 }
Esempio n. 3
0
 internal FlakeboardPlatesProperties(
     FloorProperties floorData,
     FamilyType flakeboardType,
     double distanceToBorder,
     Point direction,
     double plateLength,
     double minPlateLength,
     double plateWidth,
     double zOffset)
 {
     FloorData          = floorData;
     DistanceToBorder   = distanceToBorder;
     FlakeboardType     = flakeboardType;
     LineDirection      = direction;
     PlateLength        = plateLength;
     MinimumPlateLength = minPlateLength;
     PlateWidth         = plateWidth;
     ZOffset            = zOffset;
 }
Esempio n. 4
0
 public static FlakeboardPlatesProperties ByData(
     FloorProperties floorData,
     FamilyType flakeboardType,
     double distanceToBorder,
     Point direction,
     double plateLength,
     double minPlateLength,
     double plateWidth,
     double zOffset)
 {
     return(new FlakeboardPlatesProperties(
                floorData,
                flakeboardType,
                distanceToBorder,
                direction,
                plateLength,
                minPlateLength,
                plateWidth,
                zOffset));
 }
Esempio n. 5
0
 public static FloorPlateProperties ByData(
     FloorProperties floorProps,
     FamilyType whitePlates,
     FamilyType normalPlates,
     Point lineDirection,
     double whitePlateWidth,
     double whitePlateLength,
     double normalPlateWidth,
     double normalPlateLength,
     List <double> distancesBetweenWhiteLines,
     double gapWidthToNormalPlate)
 {
     return(new FloorPlateProperties(floorProps,
                                     whitePlates,
                                     normalPlates,
                                     lineDirection,
                                     whitePlateWidth,
                                     whitePlateLength,
                                     normalPlateWidth,
                                     normalPlateLength,
                                     distancesBetweenWhiteLines,
                                     gapWidthToNormalPlate));
 }
Esempio n. 6
0
 internal FloorPlateProperties(
     FloorProperties floorProps,
     FamilyType whitePlates,
     FamilyType normalPlates,
     Point lineDirection,
     double whitePlateWidth,
     double whitePlateLength,
     double normalPlateWidth,
     double normalPlateLength,
     List <double> distancesBetweenWhiteLines,
     double gapWidthToNormalPlate)
 {
     FloorProps                 = floorProps;
     LineDirection              = lineDirection;
     WhitePlates                = whitePlates;
     NormalPlates               = normalPlates;
     WhitePlateLength           = whitePlateLength;
     WhitePlateWidth            = WhitePlateWidth;
     NormalPlateWidth           = normalPlateWidth;
     NormalPlateLength          = normalPlateLength;
     DistancesBetweenWhiteLines = distancesBetweenWhiteLines;
     GapWidthToNormalPlate      = gapWidthToNormalPlate;
 }
Esempio n. 7
0
        /// <summary>
        /// Creates a new FlakeboardStripesProperties object from the given data.
        /// </summary>
        /// <param name="floorData">FloorData object</param>
        /// <param name="flakeboardType">Flakeboard Type</param>
        /// <param name="flakeBoardDirection">Flakeboard Direction</param>
        /// <param name="desiredAccrossFlakeboardDistance">Accross Flakeboard Distance</param>
        /// <param name="flakeboardDistanceToBounds">Distance to booth bounds</param>
        /// <param name="flakeboardDistanceAlong">Distance along plates</param>
        /// <param name="flakeboardWidth">Board width</param>
        /// <param name="flakeboardLength">Board length</param>
        /// <returns></returns>
        public static FlakeboardStripesProperties ByData(
            FloorProperties floorData,
            FamilyType flakeboardType,
            Point flakeBoardDirection,
            double desiredAccrossFlakeboardDistance,
            double flakeboardDistanceToBounds,
            double flakeboardDistanceAlong,
            double flakeboardLength
            )
        {
            double width = (double)Parameter.ParameterByName(flakeboardType, "Breite").Value;

            return(new FlakeboardStripesProperties()
            {
                FloorData = floorData,
                FlakeBoardDirection = flakeBoardDirection,
                DesiredAccrossFlakeboardDistance = desiredAccrossFlakeboardDistance,
                FlakeboardDistanceToBounds = flakeboardDistanceToBounds,
                FlakeboardDistanceAlong = flakeboardDistanceAlong,
                FlakeboardType = flakeboardType,
                FlakeboardWidth = width,
                FlakeboardLength = flakeboardLength
            });
        }