Class Vertex
Implements
Inherited Members
Namespace: ABB.Robotics.RobotStudio.Stations
Assembly: ABB.Robotics.RobotStudio.Stations.dll
Syntax
public sealed class Vertex : ProjectObject, IHasGeometry
Remarks
The Vertex object is generated on demand and is not stored in the station file; therefore Attributes cannot be used to persist attributes.
Properties
View SourceBody
Declaration
public Body Body { get; }
Property Value
| Type | Description |
|---|---|
| Body | The Body object. |
Position
Gets the position of the Vertex.
Declaration
public Vector3 Position { get; }
Property Value
| Type | Description |
|---|---|
| Vector3 |
Methods
View SourceFindClosestVertex(Vector3)
Returns the Vertex that is closest to the provided point.
Declaration
public Vertex FindClosestVertex(Vector3 testPoint)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector3 | testPoint | The point which to find the closest vertex to. |
Returns
| Type | Description |
|---|---|
| Vertex | The closest Vertex. |
Remarks
This method always returns the provided point, since it is closest to itself.
GetEdges()
Declaration
public Edge[] GetEdges()
Returns
| Type | Description |
|---|---|
| Edge[] | The array of Edge objects. |
