Click or drag to resize
CollisionDetectorCheckLineIntersection Method
Calculates whether an line between two points intersects with any graphical object in a station.

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 bool CheckLineIntersection(
	Station station,
	Vector3 start,
	Vector3 end,
	double radius,
	out Part closestPart,
	out Vector3 intersectionPoint
)

Parameters

station
Type: ABB.Robotics.RobotStudio.StationsStation
The Station to check for intersection.
start
Type: ABB.Robotics.MathVector3
Start point of the intersection line.
end
Type: ABB.Robotics.MathVector3
End point of the intersection line.
radius
Type: SystemDouble
Radius of the intersection line.
closestPart
Type: ABB.Robotics.RobotStudio.StationsPart
Returns the intersecting Part closest to the start point.
intersectionPoint
Type: ABB.Robotics.MathVector3
Returns the intersection point.

Return Value

Type: Boolean
A value indicating whether any object intersects with the line.
Remarks
If radius is not zero, the returned intersection point will be approximate.
Version Information

Supported in: 1.0.0.0
See Also