Function SrndArea when given a point, returns the area of the smallest polygon bounded by the selected objects.
FUNCTION SrndArea(pX,pY : REAL): REAL;def vs.SrndArea(p):
return REAL| Name | Type | Description |
|---|---|---|
| p | REAL | Coordinates of reference point. |
Given a point, returns the area of the smallest polygon bounded by the selected objects. Returns nil if none can be found.
[sd 8/18/98]
resultVal := SrndArea(1.0, 2.0);import vs
# Function SrndArea when given a point, returns the area of the smallest
# polygon bounded by the selected objects.
p = (0, 0)
area = vs.SrndArea(p)
vs.Message('SrndArea returned: ' + str(area))Availability: from All Versions