Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 891 Bytes

File metadata and controls

44 lines (33 loc) · 891 Bytes

SrndArea

Description

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

Parameters

Name Type Description
p REAL Coordinates of reference point.

Remarks

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]

Examples

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))

Version

Availability: from All Versions

Category