Interface ISubComponent
A sub-component defines a section with an offset relative to its containing section. Sub-components can be added to SubComponents.
See Glossary
Namespace: Oasys.AdSec
Assembly: AdSec_API_IDL.dll
Syntax
public interface ISubComponent
Remarks
A sub-component's section can have its own sub-components recursively.
Properties
Offset
Offset is applied between origins of containing section and sub-component. The offset of the profile is in the containing section's Profile Coordinate System. Any rotation applied to the containing section's profile will be applied to its sub-components. Sub-components can also have an additional rotation for their profiles.
Declaration
IPoint Offset { get; }
Property Value
Type | Description |
---|---|
IPoint |
Section
The section definition for the sub-component.
Declaration
ISection Section { get; }
Property Value
Type | Description |
---|---|
ISection |
Methods
Create(ISection, IPoint)
Creates a new sub-component from its section definition and offset relative to the containing section.
Declaration
static ISubComponent Create(ISection section, IPoint offset)
Parameters
Type | Name | Description |
---|---|---|
ISection | section | |
IPoint | offset |
Returns
Type | Description |
---|---|
ISubComponent |