-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow open collab spaces to have correct parent
- Loading branch information
1 parent
7e90536
commit 85b781a
Showing
5 changed files
with
42 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using System; | ||
using Elements.Geometry; | ||
|
||
namespace Elements | ||
{ | ||
public interface IHasParent | ||
{ | ||
Guid? Parent { get; set; } | ||
|
||
Polygon ParentBoundary { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 6 additions & 1 deletion
7
LayoutFunctions/OpenCollabLayout/dependencies/SpaceBoundary.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,16 @@ | ||
using System; | ||
using Elements.Geometry; | ||
using Newtonsoft.Json; | ||
namespace Elements | ||
{ | ||
public partial class SpaceBoundary : GeometricElement, ISpaceBoundary | ||
public partial class SpaceBoundary : GeometricElement, ISpaceBoundary, IHasParent | ||
{ | ||
public Vector3? ParentCentroid { get; set; } | ||
[JsonProperty("Config Id")] | ||
public string ConfigId { get; set; } | ||
|
||
public Guid? Parent { get; set; } | ||
|
||
public Polygon ParentBoundary { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters