Class Intersect3D
Static class containing all 3-dimensional intersection methods.
Inheritance
System.Object
Intersect3D
Namespace: Paramdigma.Core
Assembly: Paramdigma.Core.dll
Syntax
public static class Intersect3D : object
Methods
| Improve this Doc View SourceLineLine(Line, Line, out Intersect3D.LineLineIntersectionResult)
Compute the intersection between two 3-dimensional lines.
Declaration
public static Intersect3D.LineLineIntersectionStatus LineLine(Line lineA, Line lineB, out Intersect3D.LineLineIntersectionResult result)
Parameters
Type | Name | Description |
---|---|---|
Line | lineA | First line to intersect. |
Line | lineB | Second line to intersect. |
Intersect3D.LineLineIntersectionResult | result | Struct containing the intersection result. |
Returns
Type | Description |
---|---|
Intersect3D.LineLineIntersectionStatus | Returns an enum containing the intersection status. |
LinePlane(Line, Plane, out Point3d)
Intersect a 3d line with a plane.
Declaration
public static Intersect3D.LinePlaneIntersectionStatus LinePlane(Line line, Plane plane, out Point3d intersectionPoint)
Parameters
Type | Name | Description |
---|---|---|
Line | line | The 3d line to intersect. |
Plane | plane | The 3d plane to intersect. |
Point3d | intersectionPoint | The resulting intersection point, if it exists. |
Returns
Type | Description |
---|---|
Intersect3D.LinePlaneIntersectionStatus | Intersection result. |
RayFacePerimeter(Ray, MeshFace, out Point3d, out MeshHalfEdge)
Compute the intersection between a mesh face perimeter and a ray tangent to the face.
Declaration
public static Intersect3D.RayFacePerimeterIntersectionStatus RayFacePerimeter(Ray ray, MeshFace face, out Point3d result, out MeshHalfEdge halfEdge)
Parameters
Type | Name | Description |
---|---|---|
Ray | ray | The tangent ray. |
MeshFace | face | The mesh face. |
Point3d | result | The resulting intersection point. |
MeshHalfEdge | halfEdge | The half-edge on where the intersection lies. |
Returns
Type | Description |
---|---|
Intersect3D.RayFacePerimeterIntersectionStatus | Intersection result. |