Table of Contents

Method CollidesWith

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

CollidesWith(GeoLine2)

Checks whether a segment reaches the material of this face.

public bool CollidesWith(GeoLine2 line)

Parameters

line GeoLine2

Returns

bool

CollidesWith(GeoLine2, Tolerance)

Checks whether a segment reaches the material of this face, within a tolerance.

public bool CollidesWith(GeoLine2 line, Tolerance tolerance)

Parameters

line GeoLine2
tolerance Tolerance

Returns

bool

CollidesWith(GeoArc2)

Checks whether a arc reaches the material of this face.

public bool CollidesWith(GeoArc2 arc)

Parameters

arc GeoArc2

Returns

bool

CollidesWith(GeoArc2, Tolerance)

Checks whether a arc reaches the material of this face, within a tolerance.

public bool CollidesWith(GeoArc2 arc, Tolerance tolerance)

Parameters

arc GeoArc2
tolerance Tolerance

Returns

bool

CollidesWith(GeoCircle2)

Checks whether a circle reaches the material of this face.

public bool CollidesWith(GeoCircle2 circle)

Parameters

circle GeoCircle2

Returns

bool

CollidesWith(GeoCircle2, Tolerance)

Checks whether a circle reaches the material of this face, within a tolerance.

public bool CollidesWith(GeoCircle2 circle, Tolerance tolerance)

Parameters

circle GeoCircle2
tolerance Tolerance

Returns

bool

CollidesWith(GeoRectangle2)

Checks whether a rectangle reaches the material of this face.

public bool CollidesWith(GeoRectangle2 rect)

Parameters

rect GeoRectangle2

Returns

bool

CollidesWith(GeoRectangle2, Tolerance)

Checks whether a rectangle reaches the material of this face, within a tolerance.

public bool CollidesWith(GeoRectangle2 rect, Tolerance tolerance)

Parameters

rect GeoRectangle2
tolerance Tolerance

Returns

bool

CollidesWith(GeoPolyline2)

Checks whether a polyline reaches the material of this face.

public bool CollidesWith(GeoPolyline2 polyline)

Parameters

polyline GeoPolyline2

Returns

bool

CollidesWith(GeoPolyline2, Tolerance)

Checks whether a polyline reaches the material of this face, within a tolerance.

public bool CollidesWith(GeoPolyline2 polyline, Tolerance tolerance)

Parameters

polyline GeoPolyline2
tolerance Tolerance

Returns

bool

CollidesWith(GeoPolygon2)

Checks whether a polygon reaches the material of this face.

public bool CollidesWith(GeoPolygon2 polygon)

Parameters

polygon GeoPolygon2

Returns

bool

CollidesWith(GeoPolygon2, Tolerance)

Checks whether a polygon reaches the material of this face, within a tolerance.

public bool CollidesWith(GeoPolygon2 polygon, Tolerance tolerance)

Parameters

polygon GeoPolygon2
tolerance Tolerance

Returns

bool

CollidesWith(GeoPolygonArc2)

Checks whether a curved loop reaches the material of this face.

public bool CollidesWith(GeoPolygonArc2 loop)

Parameters

loop GeoPolygonArc2

Returns

bool

CollidesWith(GeoPolygonArc2, Tolerance)

Checks whether a curved loop reaches the material of this face, within a tolerance.

public bool CollidesWith(GeoPolygonArc2 loop, Tolerance tolerance)

Parameters

loop GeoPolygonArc2
tolerance Tolerance

Returns

bool

CollidesWith(GeoPolylineArc2)

Checks whether a curved chain reaches the material of this face.

public bool CollidesWith(GeoPolylineArc2 chain)

Parameters

chain GeoPolylineArc2

Returns

bool

CollidesWith(GeoPolylineArc2, Tolerance)

Checks whether a curved chain reaches the material of this face, within a tolerance.

public bool CollidesWith(GeoPolylineArc2 chain, Tolerance tolerance)

Parameters

chain GeoPolylineArc2
tolerance Tolerance

Returns

bool

CollidesWith(GeoEdge2)

Checks whether this face touches an edge.

public bool CollidesWith(GeoEdge2 edge)

Parameters

edge GeoEdge2

Returns

bool

CollidesWith(GeoEdge2, Tolerance)

Checks whether this face touches an edge, within a tolerance.

public bool CollidesWith(GeoEdge2 edge, Tolerance tolerance)

Parameters

edge GeoEdge2
tolerance Tolerance

Returns

bool

CollidesWith(GeoTriangle2)

Checks whether this face touches a triangle, using the default tolerance.

public bool CollidesWith(GeoTriangle2 triangle)

Parameters

triangle GeoTriangle2

Returns

bool

CollidesWith(GeoTriangle2, Tolerance)

Checks whether this face touches a triangle, within a tolerance.

public bool CollidesWith(GeoTriangle2 triangle, Tolerance tolerance)

Parameters

triangle GeoTriangle2
tolerance Tolerance

Returns

bool

CollidesWith(GeoFace2)

Checks whether the material of this face meets the material of another.

public bool CollidesWith(GeoFace2 other)

Parameters

other GeoFace2

Returns

bool

Remarks

The materials have to meet: a face lying wholly in a hole of this one does not collide with it, and one lying on its material does. A square 20 by 20 about (50, 50) does not collide with the square 100 by 100 with a corner at the origin and a hole 40 by 40 in its middle; about (15, 50) it does.

Exceptions

ArgumentNullException

Thrown when the other face is null.

CollidesWith(GeoFace2, Tolerance)

Checks whether the material of this face meets the material of another, within a tolerance.

public bool CollidesWith(GeoFace2 other, Tolerance tolerance)

Parameters

other GeoFace2
tolerance Tolerance

Returns

bool

Remarks

The materials have to meet: a face lying wholly in a hole of this one does not collide with it, and one lying on its material does. A square 20 by 20 about (50, 50) does not collide with the square 100 by 100 with a corner at the origin and a hole 40 by 40 in its middle; about (15, 50) it does.

Exceptions

ArgumentNullException

Thrown when the other face is null.

CollidesWith(GeoRay2)

Determines whether a ray reaches the material of this face, using the default tolerance.

public bool CollidesWith(GeoRay2 ray)

Parameters

ray GeoRay2

Returns

bool

CollidesWith(GeoRay2, Tolerance)

Determines whether a ray reaches the material of this face, within a tolerance.

public bool CollidesWith(GeoRay2 ray, Tolerance tolerance)

Parameters

ray GeoRay2
tolerance Tolerance

Returns

bool

CollidesWith(GeoXLine2)

Determines whether this face touches an infinite line, using the default tolerance.

public bool CollidesWith(GeoXLine2 xline)

Parameters

xline GeoXLine2

Returns

bool

CollidesWith(GeoXLine2, Tolerance)

Determines whether this face touches an infinite line, within a tolerance.

public bool CollidesWith(GeoXLine2 xline, Tolerance tolerance)

Parameters

xline GeoXLine2
tolerance Tolerance

Returns

bool

CollidesWith(GeoSpline2)

Determines whether this face touches a spline, using the default tolerance.

public bool CollidesWith(GeoSpline2 spline)

Parameters

spline GeoSpline2

Returns

bool

Exceptions

ArgumentNullException

Thrown when the spline is null.

CollidesWith(GeoSpline2, Tolerance)

Determines whether this face touches a spline, within a tolerance.

public bool CollidesWith(GeoSpline2 spline, Tolerance tolerance)

Parameters

spline GeoSpline2
tolerance Tolerance

Returns

bool

Exceptions

ArgumentNullException

Thrown when the spline is null.