phystricks
Public Member Functions | Public Attributes | List of all members
phystricks.src.Constructors.ObliqueProjection Class Reference
Inheritance diagram for phystricks.src.Constructors.ObliqueProjection:
Inheritance graph
[legend]
Collaboration diagram for phystricks.src.Constructors.ObliqueProjection:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self, alpha, k)
 
def point (self, x, y, z)
 
def cuboid (self, P, a, b, c)
 

Public Attributes

 k
 
 alpha
 
 theta
 
 kc
 
 ks
 

Constructor & Destructor Documentation

def phystricks.src.Constructors.ObliqueProjection.__init__ (   self,
  alpha,
  k 
)
This is the oblique projection of angle `alpha` and scale factor `k`.

`alpha` is given in degree. It is immediately converted in order to have positive number. If you give -45, it will be converted to 315

Member Function Documentation

def phystricks.src.Constructors.ObliqueProjection.cuboid (   self,
  P,
  a,
  b,
  c 
)
`P` -- a tupe (x,y) that gives the lower left point.

`a,b,c` the size
def phystricks.src.Constructors.ObliqueProjection.point (   self,
  x,
  y,
  z 
)

Member Data Documentation

phystricks.src.Constructors.ObliqueProjection.alpha
phystricks.src.Constructors.ObliqueProjection.k
phystricks.src.Constructors.ObliqueProjection.kc
phystricks.src.Constructors.ObliqueProjection.ks
phystricks.src.Constructors.ObliqueProjection.theta

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