Method CollidesWith
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
CollidesWith(GeoPlane3)
Checks whether the rim of this ellipse touches a plane, using the default tolerance.
public bool CollidesWith(GeoPlane3 plane)
Parameters
planeGeoPlane3The plane.
Returns
Remarks
An ellipse lying in the plane touches it everywhere and crosses it nowhere, so this is true where GetIntersections is empty.
CollidesWith(GeoPlane3, Tolerance)
Checks whether the rim of this ellipse touches a plane, within a tolerance.
public bool CollidesWith(GeoPlane3 plane, Tolerance tolerance)
Parameters
Returns
CollidesWith(GeoLine3)
Checks whether the rim of this ellipse touches a segment, using the default tolerance.
public bool CollidesWith(GeoLine3 line)
Parameters
lineGeoLine3The segment.
Returns
Remarks
The rim is what counts, not the disc: the segment from (0, 0, -10) to (0, 0, 10) passes through the middle of the ellipse 300 by 100 lying in the plan about the origin and touches nothing.
CollidesWith(GeoLine3, Tolerance)
Checks whether the rim of this ellipse touches a segment, within a tolerance.
public bool CollidesWith(GeoLine3 line, Tolerance tolerance)
Parameters
Returns
CollidesWith(GeoRay3)
Checks whether the rim of this ellipse touches a ray, using the default tolerance.
public bool CollidesWith(GeoRay3 ray)
Parameters
rayGeoRay3The ray.
Returns
CollidesWith(GeoRay3, Tolerance)
Checks whether the rim of this ellipse touches a ray, within a tolerance.
public bool CollidesWith(GeoRay3 ray, Tolerance tolerance)
Parameters
Returns
CollidesWith(GeoArc3)
Checks whether the rim of this ellipse touches an arc, using the default tolerance.
public bool CollidesWith(GeoArc3 arc)
Parameters
arcGeoArc3The arc.
Returns
CollidesWith(GeoArc3, Tolerance)
Checks whether the rim of this ellipse touches an arc, within a tolerance.
public bool CollidesWith(GeoArc3 arc, Tolerance tolerance)
Parameters
Returns
CollidesWith(GeoCircle3)
Checks whether the rim of this ellipse touches a circle, using the default tolerance.
public bool CollidesWith(GeoCircle3 circle)
Parameters
circleGeoCircle3The circle.
Returns
Remarks
The rims are what count, not the discs: the circle of radius 50 lying in the plan inside the ellipse 300 by 100 about the same centre touches nothing.
CollidesWith(GeoCircle3, Tolerance)
Checks whether the rim of this ellipse touches a circle, within a tolerance.
public bool CollidesWith(GeoCircle3 circle, Tolerance tolerance)
Parameters
circleGeoCircle3The circle.
toleranceToleranceThe tolerance.
Returns
CollidesWith(GeoEllipse3)
Checks whether the rim of this ellipse touches another ellipse, using the default tolerance.
public bool CollidesWith(GeoEllipse3 other)
Parameters
otherGeoEllipse3The other ellipse.
Returns
Remarks
The rims are what count, not the discs: the ellipse 150 by 50 lying in the plan inside the ellipse 300 by 100 about the same centre touches nothing.
CollidesWith(GeoEllipse3, Tolerance)
Checks whether the rim of this ellipse touches another ellipse, within a tolerance.
public bool CollidesWith(GeoEllipse3 other, Tolerance tolerance)
Parameters
otherGeoEllipse3The other ellipse.
toleranceToleranceThe tolerance.
Returns
CollidesWith(GeoTriangle3)
Checks whether the rim of this ellipse touches a triangle, using the default tolerance.
public bool CollidesWith(GeoTriangle3 triangle)
Parameters
triangleGeoTriangle3The triangle.
Returns
CollidesWith(GeoTriangle3, Tolerance)
Checks whether the rim of this ellipse touches a triangle, within a tolerance.
public bool CollidesWith(GeoTriangle3 triangle, Tolerance tolerance)
Parameters
triangleGeoTriangle3The triangle.
toleranceToleranceThe tolerance.
Returns
CollidesWith(GeoPolygon3)
Checks whether the rim of this ellipse touches a polygon, using the default tolerance.
public bool CollidesWith(GeoPolygon3 polygon)
Parameters
polygonGeoPolygon3The polygon.
Returns
Remarks
A rim lying in the polygon's plane wholly within it crosses nothing and touches it: the square 800 by 800 about the origin in the plan touches the ellipse 300 by 100 about the same centre.
CollidesWith(GeoPolygon3, Tolerance)
Checks whether the rim of this ellipse touches a polygon, within a tolerance.
public bool CollidesWith(GeoPolygon3 polygon, Tolerance tolerance)
Parameters
polygonGeoPolygon3The polygon.
toleranceToleranceThe tolerance.
Returns
CollidesWith(GeoFace3)
Checks whether the rim of this ellipse touches a face, using the default tolerance.
public bool CollidesWith(GeoFace3 face)
Parameters
faceGeoFace3The face.
Returns
CollidesWith(GeoFace3, Tolerance)
Checks whether the rim of this ellipse touches a face, within a tolerance.
public bool CollidesWith(GeoFace3 face, Tolerance tolerance)
Parameters
Returns
CollidesWith(GeoSolid3)
Checks whether the rim of this ellipse touches a solid, using the default tolerance.
public bool CollidesWith(GeoSolid3 solid)
Parameters
solidGeoSolid3The solid.
Returns
Remarks
A rim lying inside the material crosses nothing and touches it: the ellipse 30 by 10 lying in the plan about the centre of a box 200 by 200 by 200 touches it. A rim inside an opening is not in the material.
CollidesWith(GeoSolid3, Tolerance)
Checks whether the rim of this ellipse touches a solid, within a tolerance.
public bool CollidesWith(GeoSolid3 solid, Tolerance tolerance)
Parameters
Returns
CollidesWith(GeoObb3)
Checks whether the rim of this ellipse touches an oriented box, using the default tolerance.
public bool CollidesWith(GeoObb3 box)
Parameters
boxGeoObb3The oriented box.
Returns
Remarks
A rim wholly inside the box crosses no face and touches it.
CollidesWith(GeoObb3, Tolerance)
Checks whether the rim of this ellipse touches an oriented box, within a tolerance.
public bool CollidesWith(GeoObb3 box, Tolerance tolerance)
Parameters
Returns
CollidesWith(GeoAabb3)
Checks whether the rim of this ellipse touches an axis-aligned box, using the default tolerance.
public bool CollidesWith(GeoAabb3 box)
Parameters
boxGeoAabb3The axis-aligned box.
Returns
CollidesWith(GeoAabb3, Tolerance)
Checks whether the rim of this ellipse touches an axis-aligned box, within a tolerance.
public bool CollidesWith(GeoAabb3 box, Tolerance tolerance)
Parameters
Returns
CollidesWith(GeoEdge3)
Checks whether the rim of this ellipse touches an edge, using the default tolerance.
public bool CollidesWith(GeoEdge3 edge)
Parameters
edgeGeoEdge3The edge.
Returns
CollidesWith(GeoEdge3, Tolerance)
Checks whether the rim of this ellipse touches an edge, within a tolerance.
public bool CollidesWith(GeoEdge3 edge, Tolerance tolerance)
Parameters
Returns
CollidesWith(GeoPolylineArc3)
Checks whether the rim of this ellipse touches a curved chain, using the default tolerance.
public bool CollidesWith(GeoPolylineArc3 chain)
Parameters
chainGeoPolylineArc3The curved chain.
Returns
CollidesWith(GeoPolylineArc3, Tolerance)
Checks whether the rim of this ellipse touches a curved chain, within a tolerance.
public bool CollidesWith(GeoPolylineArc3 chain, Tolerance tolerance)
Parameters
chainGeoPolylineArc3The curved chain.
toleranceToleranceThe tolerance.
Returns
CollidesWith(GeoPolygonArc3)
Checks whether the rim of this ellipse touches a curved loop, using the default tolerance.
public bool CollidesWith(GeoPolygonArc3 loop)
Parameters
loopGeoPolygonArc3The curved loop.
Returns
CollidesWith(GeoPolygonArc3, Tolerance)
Checks whether the rim of this ellipse touches a curved loop, within a tolerance.
public bool CollidesWith(GeoPolygonArc3 loop, Tolerance tolerance)
Parameters
loopGeoPolygonArc3The curved loop.
toleranceToleranceThe tolerance.
Returns
CollidesWith(GeoSphere3)
Determines whether this ellipse touches a ball, using the default tolerance.
public bool CollidesWith(GeoSphere3 sphere)
Parameters
sphereGeoSphere3
Returns
CollidesWith(GeoSphere3, Tolerance)
Determines whether this ellipse touches a ball, within a tolerance.
public bool CollidesWith(GeoSphere3 sphere, Tolerance tolerance)
Parameters
sphereGeoSphere3toleranceTolerance
Returns
CollidesWith(GeoSpline3)
Determines whether this ellipse 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 ellipse touches a spline, within a tolerance.
public bool CollidesWith(GeoSpline3 spline, Tolerance tolerance)
Parameters
splineGeoSpline3toleranceTolerance
Returns
Exceptions
- ArgumentNullException
Thrown when the spline is null.
CollidesWith(GeoXLine3)
Determines whether the rim of this ellipse touches an infinite line, using the default tolerance.
public bool CollidesWith(GeoXLine3 xline)
Parameters
xlineGeoXLine3
Returns
CollidesWith(GeoXLine3, Tolerance)
Determines whether the rim of this ellipse touches an infinite line, within a tolerance.
public bool CollidesWith(GeoXLine3 xline, Tolerance tolerance)