Click or drag to resize
CollisionDetectorCheckCollision Method (TemporaryGraphic, Double, Part)
Calculates whether any object in the active Station intersects with a TemporaryGraphic object.

Namespace:  ABB.Robotics.RobotStudio.Stations
Assembly:  ABB.Robotics.RobotStudio.Stations (in ABB.Robotics.RobotStudio.Stations.dll) Version: 7.0.8747.636
Syntax
C#
public static CollisionType CheckCollision(
	TemporaryGraphic tempGfx,
	double nearMiss,
	out Part part
)

Parameters

tempGfx
Type: ABB.Robotics.RobotStudio.Stations.FormsTemporaryGraphic
TemporaryGraphic object
nearMiss
Type: SystemDouble
Near miss distance.
part
Type: ABB.Robotics.RobotStudio.StationsPart
Returns the Part that the TemporaryGraphic object intersects with.

Return Value

Type: CollisionType
A value indicating whether the objects collide or are closer than the near miss distance.
Remarks
The TemporaryGraphic object must be a triangular object (e.g. box, cylinder, sphere).
Version Information

Supported in: 1.0.0.0
See Also