Skip to content

Commit

Permalink
Remove PreviousVersion attributes for previous milestones
Browse files Browse the repository at this point in the history
  • Loading branch information
BHoMBot authored and Fraser Greenroyd committed Apr 1, 2021
1 parent 2e0a316 commit 0f631ef
Show file tree
Hide file tree
Showing 9 changed files with 2 additions and 22 deletions.
4 changes: 0 additions & 4 deletions Data_Engine/Query/Requests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ public static partial class Query
/**** Interface methods ****/
/***************************************************/

[PreviousVersion("4.1", "BH.Engine.Data.Modify.IRequests(BH.oM.Data.Requests.ILogicalRequest)")]
public static List<IRequest> IRequests(this ILogicalRequest request)
{
return Requests(request as dynamic);
Expand All @@ -45,23 +44,20 @@ public static List<IRequest> IRequests(this ILogicalRequest request)
/**** Public methods ****/
/***************************************************/

[PreviousVersion("4.1", "BH.Engine.Data.Modify.Requests(BH.oM.Data.Requests.LogicalAndRequest)")]
public static List<IRequest> Requests(this LogicalAndRequest request)
{
return request.Requests;
}

/***************************************************/

[PreviousVersion("4.1", "BH.Engine.Data.Modify.Requests(BH.oM.Data.Requests.LogicalOrRequest)")]
public static List<IRequest> Requests(this LogicalOrRequest request)
{
return request.Requests;
}

/***************************************************/

[PreviousVersion("4.1", "BH.Engine.Data.Modify.Requests(BH.oM.Data.Requests.LogicalNotRequest)")]
public static List<IRequest> Requests(this LogicalNotRequest request)
{
List<IRequest> result = new List<IRequest>();
Expand Down
2 changes: 0 additions & 2 deletions Environment_Engine/Compute/ExtrudeToVolume.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ public static partial class Compute
[Input("height", "The height of the region, as a double, to calculate the ceiling level of the region. This will be used as the Z value of the perimeter + the given height.")]
[Input("tolerance", "The degree of tolerance on the angle calculation for collapsing the regions perimeter to a polyline. Default is equal to BH.oM.Geometry.Tolerance.Angle.")]
[Output("panels", "A collection of Environment Panels which represent the closed volume of the region.")]
[PreviousVersion("4.1", "BH.Engine.Environment.Compute.ExtrudeToVolume(BH.oM.Environment.Elements.Space, System.Double)")]
[PreviousVersion("4.1", "BH.Engine.Environment.Compute.ExtrudeToVolume(BH.oM.Architecture.Elements.Room, System.Double)")]
[PreviousInputNames("region", "room, space")]
public static List<Panel> ExtrudeToVolume(this IRegion region, double height, double tolerance = BH.oM.Geometry.Tolerance.Angle)
{
Expand Down
1 change: 0 additions & 1 deletion Geometry_Engine/Compute/BooleanIntersection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ public static Line BooleanIntersection(this List<Line> lines, double tolerance =
/**** public Methods - Regions ****/
/***************************************************/

[PreviousVersion("4.1", "BH.Engine.Geometry.Compute.BooleanIntersection(BH.oM.Geometry.Polyline, BH.oM.Geometry.Polyline, System.Double)")]
public static List<Polyline> BooleanIntersection(this Polyline region, Polyline refRegion, double tolerance = Tolerance.Distance, double angleTolerance = Tolerance.Angle)
{
if (!region.IsClosed(tolerance) || !refRegion.IsClosed(tolerance))
Expand Down
3 changes: 0 additions & 3 deletions Geometry_Engine/Create/SettingOut/Grid.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ public static partial class Create
[Input("curve", "Curve to be used as grid curve. Will be projected to the XY Plane.")]
[Input("name", "Optional name of the Grid.")]
[Output("grid", "A Grid in the XY Plane.")]
[PreviousVersion("4.1", "BH.Engine.Geometry.SettingOut.Create.Grid(BH.oM.Geometry.ICurve)")]
public static Grid Grid(ICurve curve, string name = "")
{
return new Grid
Expand All @@ -56,8 +55,6 @@ public static Grid Grid(ICurve curve, string name = "")
[Input("length", "Length of the output Grid line.", typeof(Length))]
[Input("name", "Optional name of the Grid.")]
[Output("grid", "A Grid in the XY Plane.")]
[PreviousVersion("4.1", "BH.Engine.Geometry.SettingOut.Create.Grid(BH.oM.Geometry.Point, BH.oM.Geometry.Vector, System.Double)")]
[PreviousVersion("4.1", "BH.Engine.Geometry.SettingOut.Create.Grid(BH.oM.Geometry.Point, BH.oM.Geometry.Vector, System.String, System.Double)")]
public static Grid Grid(Point origin, Vector direction, double length = 20, string name = "")
{
Point projectedOrigin = origin.Project(Plane.XY);
Expand Down
1 change: 0 additions & 1 deletion Geometry_Engine/Query/LineIntersections.cs
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,6 @@ public static List<Point> LineIntersections(this PolyCurve curve, Line line, boo

/***************************************************/

[PreviousVersion("4.1", "BH.Engine.Geometry.Query.LineIntersections(BH.oM.Geometry.Polyline, BH.oM.Geometry.Polyline, System.Double)")]
public static List<Point> LineIntersections(this Polyline curve1, Polyline curve2, double tolerance = Tolerance.Distance, double angleTolerance = Tolerance.Angle)
{
List<Point> iPts = new List<Point>();
Expand Down
2 changes: 0 additions & 2 deletions Humans_Engine/Query/CvalueAnalysis.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ public static partial class Query
/**** Public Methods ****/
/***************************************************/

[PreviousVersion("4.1", "BH.Engine.Humans.ViewQuality.Query.CvalueAnalysis(BH.oM.Humans.ViewQuality.Audience, BH.oM.Humans.ViewQuality.CvalueSettings, BH.oM.Geometry.Polyline)")]
[Description("Evaluate Cvalues for a single Audience. See the wiki page to understand how Cvalue is calculated. https://github.com/BHoM/documentation/wiki/BHoM-View-quality-conventions")]
[Input("audience", "Audience to evaluate")]
[Input("settings", "CvalueSettings to configure the evaluation")]
Expand All @@ -52,7 +51,6 @@ public static List<Cvalue> CvalueAnalysis(this Audience audience, CvalueSettings

/***************************************************/

[PreviousVersion("4.1", "BH.Engine.Humans.ViewQuality.Query.CvalueAnalysis(System.Collections.Generic.List<BH.oM.Humans.ViewQuality.Audience>, BH.oM.Humans.ViewQuality.CvalueSettings, BH.oM.Geometry.Polyline)")]
[Description("Evaluate Cvalues for a List of Audience. See the wiki page to understand how Cvalue is calculated. https://github.com/BHoM/documentation/wiki/BHoM-View-quality-conventions")]
[Input("audience", "Audience to evaluate.")]
[Input("settings", "CvalueSettings to configure the evaluation.")]
Expand Down
3 changes: 1 addition & 2 deletions Spatial_Engine/Compute/OrientationAngleLinear.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/*
* This file is part of the Buildings and Habitats object Model (BHoM)
* Copyright (c) 2015 - 2021, the respective contributors. All rights reserved.
*
Expand Down Expand Up @@ -37,7 +37,6 @@ public static partial class Compute
/**** Public Methods ****/
/***************************************************/

[PreviousVersion("4.1", "BH.Engine.Structure.Compute.OrientationAngleBar(BH.oM.Geometry.Vector, BH.oM.Geometry.Line)")]
[Description("Calculates the orientation angle of a linear element based on a normal vector and a centreline.")]
[Input("normal", "Vector to be used as normal of the linear element. This vector should generally be orthogonal to the element, if it is not, it will be made orthogonal by projecting it to the section plane of the element (a plane that has that element tangent as its normal). This means that the Normal cannot be paralell to the Tangent of the element. \n" +
"Vector will be used to determine the orientation angle of the element. This is done by measuring the counter clockwise angle in the section plane of the element between a reference Vector and the provided Vector. For a non-vertical element, the reference vector will be the global Z-axis. For a vertical element the reference vector will be a vector that is orthogonal to the tangent vector of the element and the global Y-axis.")]
Expand Down
2 changes: 0 additions & 2 deletions Spatial_Engine/Modify/RoundCoordinates.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ public static IElement0D RoundCoordinates(this IElement0D element0d, int decimal

/***************************************************/

[PreviousVersion("4.1", "BH.Engine.ModelLaundry.Modify.RoundElementCoordinates(BH.oM.Dimensional.IElement1D, System.Int32)")]
[Description("Modifies a IElement1D defining curves to be rounded to the number of provided decimal places.")]
[Input("element1d", "The IElement1D to modify.")]
[Input("decimalPlaces", "The number of decimal places to round to, default 6.")]
Expand All @@ -60,7 +59,6 @@ public static IElement1D RoundCoordinates(this IElement1D element1d, int decimal

/***************************************************/

[PreviousVersion("4.1", "BH.Engine.ModelLaundry.Modify.RoundElementCoordinates(BH.oM.Dimensional.IElement2D, System.Int32)")]
[Description("Modifies a IElement2D's defining curves to be rounded to the number of provided decimal places.")]
[Input("element2d", "The IElement2D to modify.")]
[Input("decimalPlaces", "The number of decimal places to round to, default 6.")]
Expand Down
6 changes: 1 addition & 5 deletions Spatial_Engine/Query/IsPlanar.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/*
* This file is part of the Buildings and Habitats object Model (BHoM)
* Copyright (c) 2015 - 2021, the respective contributors. All rights reserved.
*
Expand Down Expand Up @@ -35,7 +35,6 @@ public static partial class Query
/**** IElement0D ****/
/******************************************/

[PreviousVersion("4.1", "BH.Engine.ModelLaundry.Query.IsPlanar(BH.oM.Dimensional.IElement0D, System.Double)")]
[Description("Checks whether all control points of an element lie in a single plane.")]
[Input("element0D", "Element to evaluate.")]
[Input("tolerance", "Tolerance used in numerical processing of planarity.")]
Expand All @@ -50,7 +49,6 @@ public static bool IsPlanar(this IElement0D element0D, double tolerance = Tolera
/**** IElement1D ****/
/******************************************/

[PreviousVersion("4.1", "BH.Engine.ModelLaundry.Query.IsPlanar(BH.oM.Dimensional.IElement1D, System.Double)")]
[Description("Checks whether all control points of an element lie in a single plane.")]
[Input("element1D", "Element to evaluate.")]
[Input("tolerance", "Tolerance used in numerical processing of planarity.")]
Expand All @@ -65,7 +63,6 @@ public static bool IsPlanar(this IElement1D element1D, double tolerance = Tolera
/**** IElement2D ****/
/******************************************/

[PreviousVersion("4.1", "BH.Engine.ModelLaundry.Query.IsPlanar(BH.oM.Dimensional.IElement2D, System.Boolean, System.Double)")]
[Description("Checks whether all control points of an element lie in a single plane.")]
[Input("element2D", "Element to evaluate.")]
[Input("externalOnly", "If true, only the external outline of an element is evaluated.")]
Expand All @@ -81,7 +78,6 @@ public static bool IsPlanar(this IElement2D element2D, bool externalOnly = false
/**** Interfaces ****/
/******************************************/

[PreviousVersion("4.1", "BH.Engine.ModelLaundry.Query.IIsPlanar(BH.oM.Dimensional.IElement, System.Boolean, System.Double)")]
[Description("Checks whether all control points of an element lie in a single plane.")]
[Input("element", "Element to evaluate.")]
[Input("externalOnly", "If true, only the external outline of an element is evaluated.")]
Expand Down

0 comments on commit 0f631ef

Please sign in to comment.