migrate doc to wwwroot.
This commit is contained in:
@@ -4,12 +4,21 @@ using Hi.Mech.Topo;
|
||||
|
||||
namespace Sample.Geom
|
||||
{
|
||||
/// <summary>
|
||||
/// Demonstrates the creation and manipulation of geometric objects in HiAPI.
|
||||
/// Shows how to create and transform various geometry types including boxes, cylindroids, and STL files.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// ### Source Code
|
||||
/// [!code-csharp[SampleCode](~/../Hi.Sample/Geom/DemoBuildGeom.cs)]
|
||||
/// </remarks>
|
||||
public static class DemoBuildGeom
|
||||
{
|
||||
/// <summary>
|
||||
/// Generates a collection of geometric objects for demonstration purposes.
|
||||
/// Creates various geometry types including boxes, cylindroids, STL files, and transformed geometries.
|
||||
/// </summary>
|
||||
/// <returns>A list of geometries implementing the IGetStl interface</returns>
|
||||
public static List<IGetStl> GenGeoms()
|
||||
{
|
||||
Box3d box = new Box3d(0, 0, -50, 70, 50, 0);
|
||||
|
||||
@@ -3,6 +3,10 @@ using System;
|
||||
|
||||
namespace Sample.Geom
|
||||
{
|
||||
/// <summary>
|
||||
/// Demonstrates how to create and calculate bounding boxes for different geometric objects.
|
||||
/// Shows the use of Box3d to encompass multiple geometric elements with a single boundary.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// ### Source Code
|
||||
/// [!code-csharp[SampleCode](~/../Hi.Sample/Geom/DemoIExpandToBox3d.cs)]
|
||||
|
||||
Reference in New Issue
Block a user