A three-dimensional point.
|
__init__(self,
x=0.0,
y=0.0,
z=0.0,
local_scale=1.0)
Creates a point with coordinates x , y ,
z with the local refinement factor
local_scale . |
|
|
|
__neg__(self)
Returns a view of the object with reverse orientation. |
|
|
|
|
|
getCoordinates(self)
Returns the coodinates of the point as a numpy.ndarray
object. |
|
|
|
getLocalScale(self)
Returns the local refinement factor. |
|
|
|
isColocated(self,
primitive)
Returns True if the Point primitive is colocated (has the
same coordinates) with self. |
|
|
|
modifyBy(self,
transformation)
Modifies the coordinates by applying the given transformation. |
|
|
|
setCoordinates(self,
x)
Sets the coodinates of the point from a numpy.ndarray
object x . |
|
|
|
setLocalScale(self,
factor=1.0)
Sets the local refinement factor. |
|
|
|
substitute(self,
sub_dict)
Returns a copy of self with substitutes for the primitives used to
construct it given by the dictionary sub_dict . |
|
|
Inherited from Primitive :
__repr__ ,
getDirectedID ,
getID ,
getUnderlyingPrimitive ,
hasSameOrientation
Inherited from PrimitiveBase :
__add__ ,
__cmp__ ,
__iadd__ ,
__imul__ ,
__isub__ ,
__rmul__ ,
__sub__ ,
apply ,
copy ,
getConstructionPoints ,
getPrimitives
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__str__
|