Class ReflectedXyzabcChain
Cloned CodeXyzabcChain.
public class ReflectedXyzabcChain : IXyzabcChain, IGetXyzabcChain, IMachiningChain, IGetAsmb, IGetAnchor, IGetTopoIndex, IMakeXmlSource, IGetAnchorToSolidDictionary, IGetAnchoredDisplayeeList, IExpandToBox3d
- Inheritance
-
ReflectedXyzabcChain
- Implements
- Inherited Members
- Extension Methods
Constructors
ReflectedXyzabcChain(IXyzabcChain)
Creates a reflected XYZABC chain from a source chain.
public ReflectedXyzabcChain(IXyzabcChain src)
Parameters
src
IXyzabcChainThe source XYZABC chain.
Properties
AnchorToSolid
Dictionary mapping anchors to solids.
public Dictionary<Anchor, Solid> AnchorToSolid { get; set; }
Property Value
Asmb
The assembly.
public Asmb Asmb { get; }
Property Value
ChainBegin
The beginning anchor of the chain.
public Anchor ChainBegin { get; }
Property Value
ChainEnd
The ending anchor of the chain.
public Anchor ChainEnd { get; }
Property Value
McCodes
Gets the machine coordinate code sequence for decoding the MC array.
public string[] McCodes { get; }
Property Value
- string[]
McTransformers
Gets the machine coordinate transformers.
public IDynamicRegular[] McTransformers { get; }
Property Value
RootAnchor
The root anchor.
public Anchor RootAnchor { get; }
Property Value
SourceChain
Source.
public IXyzabcChain SourceChain { get; }
Property Value
TopoReflection
Topology reflection.
public TopoReflection TopoReflection { get; }
Property Value
TransformerA
The A-axis transformer.
public DynamicRotation TransformerA { get; }
Property Value
TransformerB
The B-axis transformer.
public DynamicRotation TransformerB { get; }
Property Value
TransformerC
The C-axis transformer.
public DynamicRotation TransformerC { get; }
Property Value
TransformerX
The X-axis transformer.
public DynamicTranslation TransformerX { get; }
Property Value
TransformerY
The Y-axis transformer.
public DynamicTranslation TransformerY { get; }
Property Value
TransformerZ
The Z-axis transformer.
public DynamicTranslation TransformerZ { get; }
Property Value
XName
Name for XML serialization.
public static string XName { get; }
Property Value
Methods
ExpandToBox3d(Box3d)
Expands the destination box. This function is usually used to compute the bounding box of elements.
public void ExpandToBox3d(Box3d dst)
Parameters
dst
Box3dDestination box
GetAnchor()
Get key anchor. (i.e. root anchor)
public Anchor GetAnchor()
Returns
- Anchor
key anchor
GetAnchorToSolidDictionary()
public Dictionary<Anchor, Solid> GetAnchorToSolidDictionary()
Returns
- Dictionary<Anchor, Solid>
A dictionary where keys are anchors and values are their associated solids.
GetAnchoredDisplayeeList()
Gets a list of anchored displayable objects.
public List<IAnchoredDisplayee> GetAnchoredDisplayeeList()
Returns
- List<IAnchoredDisplayee>
A list of IAnchoredDisplayee objects
GetAsmb()
Gets the key asmb.
public Asmb GetAsmb()
Returns
- Asmb
The key asmb.
GetTableBuckle()
Gets the table buckle anchor point.
public IGetAnchor GetTableBuckle()
Returns
- IGetAnchor
The table buckle anchor point.
GetToolBuckle()
Gets the tool buckle anchor point.
public IGetAnchor GetToolBuckle()
Returns
- IGetAnchor
The tool buckle anchor point.
GetTransformerA()
Get transformer A.
public DynamicRotation GetTransformerA()
Returns
- DynamicRotation
transformer A
GetTransformerB()
Get transformer B.
public DynamicRotation GetTransformerB()
Returns
- DynamicRotation
transformer B
GetTransformerC()
Get transformer C.
public DynamicRotation GetTransformerC()
Returns
- DynamicRotation
transformer C
GetTransformerX()
Get transformer X.
public DynamicTranslation GetTransformerX()
Returns
- DynamicTranslation
transformer X
GetTransformerY()
Get transformer Y.
public DynamicTranslation GetTransformerY()
Returns
- DynamicTranslation
transformer Y
GetTransformerZ()
Get transformer Z.
public DynamicTranslation GetTransformerZ()
Returns
- DynamicTranslation
transformer Z
GetXyzabcChain()
Get IXyzabcChain.
public IXyzabcChain GetXyzabcChain()
Returns
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
Remarks
For the demand of easy moving source folder (especially project folder) without configuration file path corruption, the relative file path is applied.
The baseDirectory
is typically the folder at the nearest configuration file folder.
Since the folder can be moving with the configuration file.