Method CollidesWith
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
CollidesWith(GeoLine3)
Determines whether this ball touches a segment, using the default tolerance.
public bool CollidesWith(GeoLine3 line)
Parameters
lineGeoLine3
Returns
CollidesWith(GeoLine3, Tolerance)
Determines whether this ball touches a segment, within a tolerance.
public bool CollidesWith(GeoLine3 line, Tolerance tolerance)
Parameters
Returns
CollidesWith(GeoRay3)
Determines whether this ball touches a ray, using the default tolerance.
public bool CollidesWith(GeoRay3 ray)
Parameters
rayGeoRay3
Returns
CollidesWith(GeoRay3, Tolerance)
Determines whether this ball touches a ray, within a tolerance.
public bool CollidesWith(GeoRay3 ray, Tolerance tolerance)
Parameters
Returns
CollidesWith(GeoXLine3)
Determines whether this ball touches an infinite line, using the default tolerance.
public bool CollidesWith(GeoXLine3 xline)
Parameters
xlineGeoXLine3
Returns
CollidesWith(GeoXLine3, Tolerance)
Determines whether this ball touches an infinite line, within a tolerance.
public bool CollidesWith(GeoXLine3 xline, Tolerance tolerance)
Parameters
Returns
CollidesWith(GeoArc3)
Determines whether this ball touches an arc, using the default tolerance.
public bool CollidesWith(GeoArc3 arc)
Parameters
arcGeoArc3
Returns
CollidesWith(GeoArc3, Tolerance)
Determines whether this ball touches an arc, within a tolerance.
public bool CollidesWith(GeoArc3 arc, Tolerance tolerance)
Parameters
Returns
CollidesWith(GeoCircle3)
Determines whether this ball touches a circle, using the default tolerance.
public bool CollidesWith(GeoCircle3 circle)
Parameters
circleGeoCircle3
Returns
CollidesWith(GeoCircle3, Tolerance)
Determines whether this ball touches a circle, within a tolerance.
public bool CollidesWith(GeoCircle3 circle, Tolerance tolerance)
Parameters
circleGeoCircle3toleranceTolerance
Returns
CollidesWith(GeoEllipse3)
Determines whether this ball touches an ellipse, using the default tolerance.
public bool CollidesWith(GeoEllipse3 ellipse)
Parameters
ellipseGeoEllipse3
Returns
CollidesWith(GeoEllipse3, Tolerance)
Determines whether this ball touches an ellipse, within a tolerance.
public bool CollidesWith(GeoEllipse3 ellipse, Tolerance tolerance)
Parameters
ellipseGeoEllipse3toleranceTolerance
Returns
CollidesWith(GeoEdge3)
Determines whether this ball touches an edge, using the default tolerance.
public bool CollidesWith(GeoEdge3 edge)
Parameters
edgeGeoEdge3
Returns
CollidesWith(GeoEdge3, Tolerance)
Determines whether this ball touches an edge, within a tolerance.
public bool CollidesWith(GeoEdge3 edge, Tolerance tolerance)
Parameters
Returns
CollidesWith(GeoPolyline3)
Determines whether this ball touches a polyline, using the default tolerance.
public bool CollidesWith(GeoPolyline3 polyline)
Parameters
polylineGeoPolyline3
Returns
Exceptions
- ArgumentNullException
Thrown when the polyline is null.
CollidesWith(GeoPolyline3, Tolerance)
Determines whether this ball touches a polyline, within a tolerance.
public bool CollidesWith(GeoPolyline3 polyline, Tolerance tolerance)
Parameters
polylineGeoPolyline3toleranceTolerance
Returns
Exceptions
- ArgumentNullException
Thrown when the polyline is null.
CollidesWith(GeoPolygon3)
Determines whether this ball touches a polygon, using the default tolerance.
public bool CollidesWith(GeoPolygon3 polygon)
Parameters
polygonGeoPolygon3
Returns
Exceptions
- ArgumentNullException
Thrown when the polygon is null.
CollidesWith(GeoPolygon3, Tolerance)
Determines whether this ball touches a polygon, within a tolerance.
public bool CollidesWith(GeoPolygon3 polygon, Tolerance tolerance)
Parameters
polygonGeoPolygon3toleranceTolerance
Returns
Exceptions
- ArgumentNullException
Thrown when the polygon is null.
CollidesWith(GeoPolylineArc3)
Determines whether this ball touches a curved chain, using the default tolerance.
public bool CollidesWith(GeoPolylineArc3 chain)
Parameters
chainGeoPolylineArc3
Returns
Exceptions
- ArgumentNullException
Thrown when the curved chain is null.
CollidesWith(GeoPolylineArc3, Tolerance)
Determines whether this ball touches a curved chain, within a tolerance.
public bool CollidesWith(GeoPolylineArc3 chain, Tolerance tolerance)
Parameters
chainGeoPolylineArc3toleranceTolerance
Returns
Exceptions
- ArgumentNullException
Thrown when the curved chain is null.
CollidesWith(GeoPolygonArc3)
Determines whether this ball touches a curved loop, using the default tolerance.
public bool CollidesWith(GeoPolygonArc3 loop)
Parameters
loopGeoPolygonArc3
Returns
Exceptions
- ArgumentNullException
Thrown when the curved loop is null.
CollidesWith(GeoPolygonArc3, Tolerance)
Determines whether this ball touches a curved loop, within a tolerance.
public bool CollidesWith(GeoPolygonArc3 loop, Tolerance tolerance)
Parameters
loopGeoPolygonArc3toleranceTolerance
Returns
Exceptions
- ArgumentNullException
Thrown when the curved loop is null.
CollidesWith(GeoTriangle3)
Determines whether this ball touches a triangle, using the default tolerance.
public bool CollidesWith(GeoTriangle3 triangle)
Parameters
triangleGeoTriangle3
Returns
CollidesWith(GeoTriangle3, Tolerance)
Determines whether this ball touches a triangle, within a tolerance.
public bool CollidesWith(GeoTriangle3 triangle, Tolerance tolerance)
Parameters
triangleGeoTriangle3toleranceTolerance
Returns
CollidesWith(GeoFace3)
Determines whether this ball touches a face, using the default tolerance.
public bool CollidesWith(GeoFace3 face)
Parameters
faceGeoFace3
Returns
Exceptions
- ArgumentNullException
Thrown when the face is null.
CollidesWith(GeoFace3, Tolerance)
Determines whether this ball touches a face, within a tolerance.
public bool CollidesWith(GeoFace3 face, Tolerance tolerance)
Parameters
Returns
Exceptions
- ArgumentNullException
Thrown when the face is null.
CollidesWith(GeoPlane3)
Determines whether this ball touches a plane, using the default tolerance.
public bool CollidesWith(GeoPlane3 plane)
Parameters
planeGeoPlane3
Returns
CollidesWith(GeoPlane3, Tolerance)
Determines whether this ball touches a plane, within a tolerance.
public bool CollidesWith(GeoPlane3 plane, Tolerance tolerance)
Parameters
Returns
CollidesWith(GeoAabb3)
Determines whether this ball touches an axis-aligned box, using the default tolerance.
public bool CollidesWith(GeoAabb3 box)
Parameters
boxGeoAabb3
Returns
CollidesWith(GeoAabb3, Tolerance)
Determines whether this ball touches an axis-aligned box, within a tolerance.
public bool CollidesWith(GeoAabb3 box, Tolerance tolerance)
Parameters
Returns
CollidesWith(GeoObb3)
Determines whether this ball touches an oriented box, using the default tolerance.
public bool CollidesWith(GeoObb3 box)
Parameters
boxGeoObb3
Returns
Exceptions
- ArgumentNullException
Thrown when the oriented box is null.
CollidesWith(GeoObb3, Tolerance)
Determines whether this ball touches an oriented box, within a tolerance.
public bool CollidesWith(GeoObb3 box, Tolerance tolerance)
Parameters
Returns
Exceptions
- ArgumentNullException
Thrown when the oriented box is null.
CollidesWith(GeoSolid3)
Determines whether this ball touches a solid, using the default tolerance.
public bool CollidesWith(GeoSolid3 solid)
Parameters
solidGeoSolid3
Returns
Exceptions
- ArgumentNullException
Thrown when the solid is null.
CollidesWith(GeoSolid3, Tolerance)
Determines whether this ball touches a solid, within a tolerance.
public bool CollidesWith(GeoSolid3 solid, Tolerance tolerance)
Parameters
Returns
Exceptions
- ArgumentNullException
Thrown when the solid is null.
CollidesWith(GeoSphere3)
Determines whether this ball touches another ball, using the default tolerance.
public bool CollidesWith(GeoSphere3 other)
Parameters
otherGeoSphere3
Returns
CollidesWith(GeoSphere3, Tolerance)
Determines whether this ball touches another ball, within a tolerance.
public bool CollidesWith(GeoSphere3 other, Tolerance tolerance)
Parameters
otherGeoSphere3toleranceTolerance
Returns
Remarks
Two balls touch where the distance between their centres is no more than the two radii and the tolerance: the ball of radius 50 about the origin touches the ball of radius 10 about (60.0005, 0, 0), and a ball inside it.
CollidesWith(GeoSpline3)
Determines whether this ball touches a spline, using the default tolerance.
public bool CollidesWith(GeoSpline3 spline)
Parameters
splineGeoSpline3
Returns
Exceptions
- ArgumentNullException
Thrown when the spline is null.
CollidesWith(GeoSpline3, Tolerance)
Determines whether this ball touches a spline, within a tolerance.
public bool CollidesWith(GeoSpline3 spline, Tolerance tolerance)
Parameters
splineGeoSpline3toleranceTolerance
Returns
Exceptions
- ArgumentNullException
Thrown when the spline is null.