Table of Contents

Class GeomCombination

Namespace
Hi.Geom
Assembly
HiGeom.dll

A class that manages multiple STL sources as a single source.

public class GeomCombination : IStlSource, IGetStl, IMakeXmlSource
Inheritance
GeomCombination
Implements
Inherited Members
Extension Methods

Constructors

GeomCombination()

Default constructor that initializes an empty collection of STL sources.

public GeomCombination()

GeomCombination(XElement, string, string)

Ctor.

public GeomCombination(XElement src, string baseDirectory, string relFile)

Parameters

src XElement

XML

baseDirectory string

Base directory path

relFile string

Relative file path

Properties

StlSources

Collection of STL sources managed by this instance.

public List<IStlSource> StlSources { get; }

Property Value

List<IStlSource>

XName

Name for XML IO.

public static string XName { get; }

Property Value

string

Methods

CleanStlCache()

Clears the cached STL data, forcing it to be regenerated on the next request.

public void CleanStlCache()

Duplicate(params object[])

public object Duplicate(params object[] res)

Parameters

res object[]

Returns

object

GetStl()

Gets the STL geometry data.

public Stl GetStl()

Returns

Stl

The STL geometry object

MakeXmlSource(string, string)

Creates an XML representation of the object. This method may also generate additional resources such as related files.

public XElement MakeXmlSource(string baseDirectory, string relFile)

Parameters

baseDirectory string

The base directory for resolving relative paths

relFile string

The relative file path for the XML source

Returns

XElement

An XML element representing the object's state