Points

A list of points in 3D space.

Example

app = pf.GetApplication()
app:NewProject()
app:OpenFile(FEKO_HOME..[[/shared/Resources/Automation/Dipole_Example.fek]])
    
    -- Retrieve the list of mesh points
    
mesh = app.Models[1].Configurations[1].Mesh
meshPoints = mesh.Points

    -- Compare the first and last point

firstPt = meshPoints[1]
lastPt = meshPoints[meshPoints.Count]
if firstPt ~= lastPt then
    print(firstPt.." is not equal to "..lastPt)
end

Usage locations

The Points object can be accessed from the following locations:

Property List

Count
The number of points in the collection. (Read only number)
Type
The object type string. (Read only string)

Index List

[number]
Returns the Point at the given index. (Read Point)

Property Details

Count
The number of points in the collection.
Type
number
Access
Read only
Type
The object type string.
Type
string
Access
Read only