Function Entry: INTERS
← Prev | ↑ Chapter | Next → | Index | Symbols
Function Entry: INTERS
Name
inters
Class
Geometric Function
Syntax
(inters pt1 pt2 pt3 pt4 [onseg])
Arguments and Values
pt1,pt2,pt3,pt4: points defining two linesonseg: optional segment-only flag
Description
Returns the intersection point of two lines or segments.
Return Values
Point list or nil.
Side Effects
None.
Exceptional Situations
Autodesk explicitly uses inters as an example in error-handling documentation to show that more than one valid error may be reported depending on evaluation/checking order.
Compatibility
This function is useful as a test vehicle for argument evaluation and error-reporting semantics.
Availability
- AutoCAD 2026: documented (per Autodesk reference page).
- BricsCAD V26: presumed compatible (no contradicting page found).
- Status: AutoCAD documented; BricsCAD presumed-both pending Phase 4 verification.
Source Notes
- [Geometric Functions Reference (AutoLISP)](https://help.autodesk.com/cloudhelp/2026/PLK/AutoCAD-LT-AutoLISP-Reference/files/GUID-8C29D7A3-9CBB-47A8-A936-87118782303B.htm)
- [About Error Handling (AutoLISP)](https://help.autodesk.com/cloudhelp/2024/PLK/AutoCAD-AutoLISP/files/GUID-027AD2E0-5AC5-48DA-B451-112B7EECE40F.htm)
- Status: documented.