﻿Intersect2d Method (Edge)        Computes the coplanar intersection of two objects.

Namespace:  ceometric.VectorGeometry
Assembly:  ceometric.VectorGeometry (in ceometric.VectorGeometry.dll) Version: 1.8.0.0 (1.8.0.0)

# Syntax

C#
```public PointSet Intersect2d(
Edge edge
)```
Visual Basic (Declaration)
```Public Function Intersect2d ( _
edge As Edge _
) As PointSet```
Visual C++
```public:
PointSet^ Intersect2d(
Edge^ edge
)```

#### Parameters

edge
Type: ceometric.VectorGeometry..::.Edge
An edge coplanar to the triangle.

#### Return Value

Returns a PointSet containing the intersection points of the circumference of the triangle and edge. This point set contains
• 0 intersection points if the triangle is coplanar to edge but does not intersect edge
• 0 intersection points if edge is coplanar to the triangle, collinear to an edge of the triangle and contains neither start nor end point of that edge.
• 1 intersection point if edge is coplanar to the triangle and touches the triangle in a vertex
• 1 intersection point if edge is coplanar to the triangle and crosses one edge of the triangle
• 1 intersection point if edge is coplanar to the triangle, collinear to an edge of the triangle and contains either start or end point of that edge.
• 2 intersection points if edge is coplanar to the triangle and crosses two edges of the triangle
• 2 intersection points if edge is coplanar to the triangle, collinear to an edge of the triangle and contains both start or end point of that edge.

Returns null if the objects are not coplanar.

# Remarks

Use Intersect3d(Edge) for non-coplanar intersection.