dos_isinsidecurve - dalefugier/DOSLib GitHub Wiki

Verifies that a point lies inside of a closed, planar curve entity.

Syntax

(dos_isinsidecurve curve point)

Parameters

curve

The entity name of a closed, planar curve object.

point

The point to test.

Returns

T if successful.

nil if not successful or on error.

Example

Command: (setq ent (car (entsel "\nSelect closed curve:")))
<Entity name: 7ef8d048>
Command: (setq pt (getpoint "\nPick a test point:"))
(31.6951 25.9553 0.0)
Command: (dos_isinsidecurve ent pt)
T