a set of 3d point object
More...
◆ __init__()
def __init__ |
( |
|
self, |
|
|
|
size = 0 |
|
) |
| |
- Parameters
-
self | (type: object) self pointer |
size | (type: object) optional parameter |
- Returns
- (type: object)
◆ addPoint()
def addPoint |
( |
|
self, |
|
|
* |
args, |
|
|
** |
kwargs |
|
) |
| |
|
static |
possible calls:
- addPoint(self, arg1: object, arg2: object, arg3: object)
- addPoint(self, arg1: Point)
- Parameters
-
self | (type: object) self pointer |
*args | (type: list) mandatory parameter |
**kwargs | (type: dict) mandatory parameter |
◆ clearPoint()
remove all points from point set
◆ points()
def points |
( |
|
self, |
|
|
* |
args, |
|
|
** |
kwargs |
|
) |
| |
|
static |
possible calls:
- points(self)
- points(self, layout: AddInfoLayout, readOnly: object)
- Parameters
-
self | (type: object) self pointer |
*args | (type: list) mandatory parameter |
**kwargs | (type: dict) mandatory parameter |
- Returns
- (type: collections.Iterable[Point])
◆ removePoint()
def removePoint |
( |
|
self, |
|
|
|
arg1 |
|
) |
| |
remove points at the given index
◆ reservePoint()
def reservePoint |
( |
|
self, |
|
|
|
arg1 |
|
) |
| |
reserve memory for points
◆ resizePoint()
def resizePoint |
( |
|
self, |
|
|
|
arg1 |
|
) |
| |
◆ sizePoint()
- Parameters
-
- Returns
- (type: int)
◆ sortByDistance()
def sortByDistance |
( |
|
self, |
|
|
|
refPt, |
|
|
|
dim, |
|
|
|
ascending = True |
|
) |
| |
sorting points by distance to given reference point
- Parameters
-
[in] | refPt | reference point used for distance computation |
[in] | dim | dimension of distance (2 = 2d distance, 3 = 3d distance)
|
[in] | ascending | sort in ascending or descending order |