Package esys :: Package lsm :: Package vis :: Package povray :: Module triangulatedSurface :: Class TriangulatedSurface
[hide private]
[frames] | no frames]

Class TriangulatedSurface

                                  object --+    
                                           |    
core.triangulatedSurface.TriangulatedSurface --+
                                               |
                              object --+       |
                                       |       |
                core.modifier.Modifiable --+   |
                                           |   |
                         modifier.Modifiable --+
                                               |
                                              TriangulatedSurface

Instance Methods [hide private]
 
__init__(self, nodeSequence, faceSequence)
Initialise the mesh data.
 
writeSdl(self, f)

Inherited from modifier.Modifiable: apply, applySingle

Inherited from core.modifier.Modifiable: applySequence, getModifierList

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, nodeSequence, faceSequence)
(Constructor)

 

Initialise the mesh data.

Parameters:
  • nodeSequence - The list of triangle vertices.
  • faceSequence - A list three-tuples, with each three-tuple representing a triangular facet. Each three-tuple element is an index into the nodeSequence array indicating a vertex of the triangular facet.
Overrides: object.__init__
(inherited documentation)

writeSdl(self, f)

 
Overrides: modifier.Modifiable.writeSdl