CADability dotNET
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)
Tests the collision of two solids. The current position of the drives is applied to both objects
(typically one of the objects is static). If there is a collision, true is returned
and the collisionPoint is filled with an arbitrary point where collision
takes place.
Namespace: CADabilityAssembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)
Syntax
C# |
---|
public bool Collision( Solid firstObject, Solid secondObject, double precision, out GeoPoint collisionPoint ) |
Visual Basic |
---|
Public Function Collision ( _ firstObject As Solid, _ secondObject As Solid, _ precision As Double, _ <OutAttribute> ByRef collisionPoint As GeoPoint _ ) As Boolean |
Visual C++ |
---|
public: bool Collision( Solid^ firstObject, Solid^ secondObject, double precision, [OutAttribute] GeoPoint% collisionPoint ) |
Parameters
- firstObject
- Type: CADability.GeoObject..::..Solid
First Solid of the test
- secondObject
- Type: CADability.GeoObject..::..Solid
Sirst Solid of the test
- precision
- Type: System..::..Double
- collisionPoint
- Type: CADability..::..GeoPoint%
Collision point