Skip to content

3D Geometric Intersection

Operator Function

Input object parameters to determine whether two objects intersect within the set tolerance range. If they intersect, output the intersection point (line) parameters.

Parameter Introduction

Input Parameters

ParameterRangeDefault ValueDescriptionIllustration
Input Image0-80IM number for image input

Calculation Parameters

ParameterRangeDefault ValueDescriptionIllustration
Geometry 13D Line/Plane3D LineSee Geometry 1
Geometry 23D Line/Plane3D LineSee Geometry 2
Distance ToleranceOnly enabled when obtaining intersection of two lines. Set the distance tolerance between two lines. If beyond the set range, the lines are determined not to intersect

Geometry 1

ParameterRangeDefault ValueDescriptionIllustration
Type3D Line/PlaneSet input type: 3D Line/Plane
PositionEnabled when input type is 3D Line/Plane. Input X, Y, Z coordinates of a point on the 3D line/plane
DirectionEnabled when input type is 3D Line. Input the direction vector of the line
Normal VectorEnabled when input type is Plane. Input the normal vector of the plane

Geometry 2

ParameterRangeDefault ValueDescriptionIllustration
Type3D Line/PlaneSet input type: 3D Line/Plane
PositionEnabled when input type is 3D Line/Plane. Input X, Y, Z coordinates of a point on the 3D line/plane
DirectionEnabled when input type is 3D Line. Input the direction vector of the line
Normal VectorEnabled when input type is Plane. Input the normal vector of the plane

As shown below, when the second parameter is selected as a plane, it will determine whether the line and plane intersect. If they intersect, the intersection coordinates will be directly output:

Line-Plane Intersection

Result Display

ParameterRangeDefault ValueDescriptionIllustration
Geometry 1true/falsefalseIf enabled, display Geometry 1 in the image
Geometry 2true/falsefalseIf enabled, display Geometry 2 in the image
Intersection Pointtrue/falsefalseIf enabled, display the intersection point in the image

Output Parameters

NameTypeRangeDescription
Resultbooltrue/falsetrue for success
false for failure
Warningbooltrue/falsetrue indicates a warning
false indicates no warning
MessagestringOutput success, error, or warning messages. Empty if no error or warning.
TimefloatOperator execution time, unit: ms
intersection_pointpoint3dOutput intersection point

Tip

For more detailed explanations of parameter types, please refer to Type Definitions

Exception Troubleshooting

No.Exception InformationCorresponding ParameterSolution
1Input Geometry 1 type is {0}, invalid geometry typeGeometry TypeInput geometry type must be 3D Line/Plane
2Input Geometry 1 line parameters are invalidInput line direction vector parameters cannot be all zeros
3Input Geometry 2 line parameters are invalidInput line direction vector parameters cannot be all zeros
4Input Geometry 2 plane parameters are invalidInput plane normal vector parameters cannot be all zeros
5Input Geometry 2 type is {0}, invalid geometry typeGeometry TypeSecond object type must be set to line or plane
6Two lines do not intersectIncrease distance threshold

Example Introduction

Engineering Design

  1. Select the Load Point Cloud tool to load the required 3D point cloud image to IM0.

  2. Select the 3D Crop tool to copy IM0 to IM1 and IM2 respectively for different operations.

  3. Select multiple 3D Square Probe tools to obtain two lines for line-line intersection, and one line and one plane for line-plane intersection.

  4. Select the 3D Geometric Intersection tool.

Tool Usage

  1. Select the input image for the operation. The image number must match the IM number where the image is located in the project.

  2. Set inputs

Set different modes (line-line intersection, line-plane intersection), bind the lines or planes obtained from the previous step's square probe tools as inputs.

  1. Set the parameters.

  2. Check the content you want to display in the result display section.

  3. Click Test to check if the image window and parameters meet expectations.

  4. If there are no issues, click Save. Run the operator in the run list, and then view the running results in the corresponding IM.

Local Image

AI-Vision, Making 3D Measurement Easier