Template for a set of primitives.
|
|
__add__(self,
other)
Returns a new object shifted by other. |
|
|
|
|
__cmp__(self,
other)
Compares object with other by comparing the absolute value of the ID. |
|
|
|
|
__iadd__(self,
other)
Shifts the point inplace by other. |
|
|
|
|
|
|
|
__init__(self)
Initializes the PrimitiveBase instance object. |
|
|
|
|
__isub__(self,
other)
Shifts the point inplace by -other. |
|
|
|
|
|
|
|
__sub__(self,
other)
Returns a new object shifted by -other. |
|
|
|
|
apply(self,
transformation)
Returns a new object by applying the transformation. |
|
|
|
|
copy(self)
Returns a deep copy of the object. |
|
|
|
|
getConstructionPoints(self)
Returns the points used to construct the primitive. |
|
|
|
|
getPrimitives(self)
Returns a list of primitives used to construct the primitive with no
double entries. |
|
|
|
|
modifyBy(self,
transformation)
Modifies the coordinates by applying a transformation. |
|
|
|
|
setLocalScale(self,
factor=1.0)
Sets the local refinement factor. |
|
|
|
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
|