internal FloorBorderProperties( FloorProperties floorProperties, FamilyType borderType, Level level) { FloorProperties = floorProperties; BorderType = borderType; Level = level; }
public static FloorBorderProperties ByData( FloorProperties floorProperties, FamilyType borderType, Level level) { return(new FloorBorderProperties( floorProperties, borderType, level)); }
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; }
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)); }
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)); }
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; }
/// <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 }); }