v_sim.NodeNeighbours¶
- Subclasses:
 None
Methods¶
- Inherited:
 - Structs:
 
class  | 
  | 
  | 
|
  | 
|
  | 
Virtual Methods¶
- Inherited:
 
Properties¶
Name  | 
Type  | 
Flags  | 
Short Description  | 
|---|---|---|---|
r/w/co  | 
the Data the neighbours are for  | 
||
r/w  | 
additional percentage on radii  | 
Signals¶
- Inherited:
 
Fields¶
- Inherited:
 
Name  | 
Type  | 
Access  | 
Description  | 
|---|---|---|---|
parent  | 
r  | 
||
priv  | 
r  | 
Class Details¶
- class v_sim.NodeNeighbours(**kwargs)¶
 - Bases:
 - Abstract:
 No
- Structure:
 
Common name to refer to a #_VisuNodeNeighbours.
- classmethod new(data)¶
 - Parameters:
 data (
v_sim.Data) – av_sim.Dataobject.- Returns:
 a newly created
v_sim.NodeNeighboursobject.- Return type:
 
Create an object to handle a set of neighbours for data.
New in version 3.8.
- getSurfaceAt(nodeId)¶
 - Parameters:
 nodeId (
int) – a node number.- Returns:
 Trueif def is generated.- def_:
 a place to store points and polys.
- Return type:
 (
bool, def_:v_sim.SurfaceDefinition)
Generate a surface definition around atom nodeId.
New in version 3.8.
- getSurfaceFrom(nodeId)¶
 - Parameters:
 nodeId (
int) – a node id.- Returns:
 Trueif there is any generated surface.- def_:
 a place to store points and polys.
- Return type:
 (
bool, def_:v_sim.SurfaceDefinition)
Generate a surface definition around atom nodeId and all its neighbours.
New in version 3.8.
- iter(nodeId)¶
 - Parameters:
 nodeId (
int) – the node id to obtain neighbours of.- Returns:
 Trueif the iterator is valid.- iter:
 a
v_sim.NodeNeighboursIterstructure.
- Return type:
 (
bool, iter:v_sim.NodeNeighboursIter)
Initialise iter to iterate over the neighbours of node nodeId.
New in version 3.8.
Property Details¶
- v_sim.NodeNeighbours.props.data¶
 - Name:
 data- Type:
 - Default Value:
 - Flags:
 
the Data the neighbours are for