-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/3DCP-TUe/SaladSlicer into main
- Loading branch information
Showing
35 changed files
with
475 additions
and
142 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file modified
BIN
+2.96 KB
(110%)
ExampleFiles/v0.1.0/02_Planar_2D_Slicer_mulitple_objects.gh
Binary file not shown.
Binary file not shown.
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
// This file is part of SaladSlicer. SaladSlicer is licensed | ||
// under the terms of GNU General Public License as published by the | ||
// Free Software Foundation. For more information and the LICENSE file, | ||
// see <https://github.com/3DCP-TUe/SaladSlicer>. | ||
|
||
// Rhino Libs | ||
using Rhino.Geometry; | ||
|
||
namespace SaladSlicer.Core.Interfaces | ||
{ | ||
/// <summary> | ||
/// Represents the interface for all classes that can have a geometry inside. | ||
/// </summary> | ||
public interface IGeometry | ||
{ | ||
#region constructors | ||
/// <summary> | ||
/// Returns an exact duplicate of this IGeometry. | ||
/// </summary> | ||
/// <returns> The exact duplicate of this IGeometry. </returns> | ||
IGeometry DuplicateGeometryObject(); | ||
#endregion | ||
|
||
#region methods | ||
/// <summary> | ||
/// Transforms the geometry. | ||
/// </summary> | ||
/// <param name="xform"> Transformation to apply to geometry. </param> | ||
/// <returns> True on success, false on failure. </returns> | ||
bool Transform(Transform xform); | ||
|
||
/// <summary> | ||
/// Returns the Bounding Box of the object. | ||
/// </summary> | ||
/// <returns> The Bounding Box. </returns> | ||
/// <param name="accurate"> If true, a physically accurate bounding box will be computed. </param> | ||
BoundingBox GetBoundingBox(bool accurate); | ||
#endregion | ||
} | ||
} |
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
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
Oops, something went wrong.