Utilities
- CSXCAD.Utilities.CheckNyDir(ny)
Translate directions like ‘x’/’y’ or ‘z’ into 0/1 or 2. Raise an assertion error otherwise.
- Parameters:
ny – int or str
- Returns:
int – direction as 0/1/2
- CSXCAD.Utilities.GetMultiDirs(dirs)
- CSXCAD.Utilities.RegisterWrapperFactory(kind, factory)
Register the factory building a wrapper from an address, for one ObjectKind.
- CSXCAD.Utilities.WrapperFromAddress(addr, kind)
Wrapper for the C++ object at addr, which is of the given ObjectKind.