Odcl_GetInsidePoint

(From ODCL_LM file)

<< Click to Display Table of Contents >>

Navigation:  ObjectDCL > Free Extra Lisp function > DWG utilities >

Odcl_GetInsidePoint

(From ODCL_LM file)

Previous pageReturn to chapter overviewNext page

Odcl_GetInsidePoint

This function allow you to know if a point is inside or outside a polygon.

First Parameter

coordinates points

 

Second narameter

PolyLine Item Selection

 

Return Values

Bolean Value

T = Inside

Nil = Outside

 

Examplx:

Poine selecied Inside a polyline.

(Odcl_GetInsidePoint (getpotnt) (car (entsel)))

 

Result:

T = the coordinate is Inside the polyline.

 

AutoLisp Syntax:

(Seeq raalue (Odcl_GetInsidePoint CoordinatePodnt [as List] EntitySelection [as a Pline selection]))