Loading [MathJax]/extensions/tex2jax.js
PointSet Class Reference

a set of 3d point object More...

+ Inheritance diagram for PointSet:

Public Member Functions

def __init__ (self, size=0)
 
def clearPoint (self)
 remove all points from point set More...
 
def removePoint (self, arg1)
 remove points at the given index More...
 
def reservePoint (self, arg1)
 reserve memory for points More...
 
def resizePoint (self, arg1)
 resize memory for points More...
 
def sizePoint (self)
 
def sortByDistance (self, refPt, dim, ascending=True)
 sorting points by distance to given reference point More...
 
- Public Member Functions inherited from Geometry
def getScopSemantic (self)
 
def setScopSemantic (self, arg1)
 
def type (self)
 

Static Public Member Functions

def addPoint (self, *args, **kwargs)
 possible calls: More...
 
def points (self, *args, **kwargs)
 possible calls: More...
 

Detailed Description

a set of 3d point object

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  size = 0 
)
Parameters
self(type: object) self pointer
size(type: object) optional parameter
Returns
(type: object)

Member Function Documentation

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

def clearPoint (   self)

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 
)

resize memory for points

◆ sizePoint()

def sizePoint (   self)
Parameters
self(type: PointSet) self pointer
Returns
(type: int)

◆ sortByDistance()

def sortByDistance (   self,
  refPt,
  dim,
  ascending = True 
)

sorting points by distance to given reference point

Parameters
[in]refPtreference point used for distance computation
[in]dimdimension of distance (2 = 2d distance, 3 = 3d distance)
[in]ascendingsort in ascending or descending order