draftlibs::dxfImportObjects::Vertex Class Reference

List of all members.

Public Member Functions

def __getitem__
def __init__
def __iter__
def __len__
def __repr__
def __setitem__
def __str__
def get_props
def getx
def gety
def getz
def setx
def sety
def setz

Public Attributes

 bulge
 data
 ewidth
 flags
 loc
 swidth
 type

Properties

 x = property(getx, setx)
 y = property(gety, sety)
 z = property(getz, setz)

Detailed Description

Generic vertex object used by polylines (and maybe others).

Definition at line 374 of file dxfImportObjects.py.


Member Function Documentation

def draftlibs::dxfImportObjects::Vertex::__getitem__ (   self,
  key 
)

Definition at line 429 of file dxfImportObjects.py.

def draftlibs::dxfImportObjects::Vertex::__init__ (   self,
  obj = None 
)
Initializes vertex data.

    The optional obj arg is an entity object of type vertex.

Definition at line 377 of file dxfImportObjects.py.

def draftlibs::dxfImportObjects::Vertex::__iter__ (   self  ) 

Definition at line 438 of file dxfImportObjects.py.

def draftlibs::dxfImportObjects::Vertex::__len__ (   self  ) 

Definition at line 425 of file dxfImportObjects.py.

def draftlibs::dxfImportObjects::Vertex::__repr__ (   self  ) 

Definition at line 446 of file dxfImportObjects.py.

def draftlibs::dxfImportObjects::Vertex::__setitem__ (   self,
  key,
  value 
)

Definition at line 433 of file dxfImportObjects.py.

def draftlibs::dxfImportObjects::Vertex::__str__ (   self  ) 

Definition at line 442 of file dxfImportObjects.py.

def draftlibs::dxfImportObjects::Vertex::get_props (   self,
  data 
)
Gets coords for a vertex type object.

Each vert can have a number of properties.
Verts should be coded as 
10:xvalue
20:yvalue
40:startwidth or 0
41:endwidth or 0
42:bulge or 0

Definition at line 397 of file dxfImportObjects.py.

def draftlibs::dxfImportObjects::Vertex::getx (   self  ) 

Definition at line 450 of file dxfImportObjects.py.

def draftlibs::dxfImportObjects::Vertex::gety (   self  ) 

Definition at line 459 of file dxfImportObjects.py.

def draftlibs::dxfImportObjects::Vertex::getz (   self  ) 

Definition at line 468 of file dxfImportObjects.py.

def draftlibs::dxfImportObjects::Vertex::setx (   self,
  value 
)

Definition at line 453 of file dxfImportObjects.py.

def draftlibs::dxfImportObjects::Vertex::sety (   self,
  value 
)

Definition at line 462 of file dxfImportObjects.py.

def draftlibs::dxfImportObjects::Vertex::setz (   self,
  value 
)

Definition at line 471 of file dxfImportObjects.py.


Member Data Documentation

Definition at line 383 of file dxfImportObjects.py.

Definition at line 392 of file dxfImportObjects.py.

Definition at line 385 of file dxfImportObjects.py.

Definition at line 386 of file dxfImportObjects.py.

Definition at line 382 of file dxfImportObjects.py.

Definition at line 384 of file dxfImportObjects.py.

Definition at line 391 of file dxfImportObjects.py.


Property Documentation

draftlibs::dxfImportObjects::Vertex::x = property(getx, setx) [static]

Definition at line 456 of file dxfImportObjects.py.

draftlibs::dxfImportObjects::Vertex::y = property(gety, sety) [static]

Definition at line 465 of file dxfImportObjects.py.

draftlibs::dxfImportObjects::Vertex::z = property(getz, setz) [static]

Definition at line 474 of file dxfImportObjects.py.


The documentation for this class was generated from the following file:

Generated on Wed Nov 23 19:01:54 2011 for FreeCAD by  doxygen 1.6.1