Class GeomCombination
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
Properties
StlSources
Collection of STL sources managed by this instance.
public List<IStlSource> StlSources { get; }
Property Value
XName
Name for XML IO.
public static string XName { get; }
Property Value
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
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
stringThe base directory for resolving relative paths
relFile
stringThe relative file path for the XML source
Returns
- XElement
An XML element representing the object's state