Struct CurveSection
Represents a section of a Wire limited by two vertices.
Namespace: ABB.Robotics.RobotStudio.Stations
Assembly: ABB.Robotics.RobotStudio.Stations.dll
Syntax
public struct CurveSection
Constructors
CurveSection(Edge[], Vector3, Vector3)
Initializes a new CurveSection instance with the specified edges and start and end vectors.
Declaration
public CurveSection(Edge[] edges, Vector3 sectionStart, Vector3 sectionEnd)
Parameters
Type | Name | Description |
---|---|---|
Edge[] | edges | The edges contained by this section. |
Vector3 | sectionStart | The start vector of the section. |
Vector3 | sectionEnd | The end vector of the section. |
Properties
SectionEnd
Gets or sets the end vector of this section.
Declaration
public Vector3 SectionEnd { get; set; }
Property Value
Type | Description |
---|---|
Vector3 | A Vector3 which specifies the global end vector of the section in global coordinates. |
SectionStart
Gets or sets the start vector of this section.
Declaration
public Vector3 SectionStart { get; set; }
Property Value
Type | Description |
---|---|
Vector3 | A Vector3 which specifies the global start vector of the section in global coordinates. |
Methods
GetEdges()
Returns an array of Edge objects that the CurveSection contains.
Declaration
public Edge[] GetEdges()
Returns
Type | Description |
---|---|
Edge[] |
SetEdges(Edge[])
Sets the edges that should be contained in the CurveSection.
Declaration
public void SetEdges(Edge[] value)
Parameters
Type | Name | Description |
---|---|---|
Edge[] | value | The array of edges. |