Package esys :: Package pycad :: Module primitives :: Class RuledSurface
[hide private]
[frames] | no frames]

Class RuledSurface

       object --+    
                |    
        Primitive --+
                    |
   object --+       |
            |       |
PrimitiveBase --+   |
                |   |
       Manifold2D --+
                    |
                   RuledSurface

A ruled surface, i.e. a surface that can be interpolated using transfinite interpolation.

Instance Methods [hide private]
 
__init__(self, loop)
Creates a ruled surface with boundary loop.
 
__neg__(self)
Returns a view onto the suface with reversed ordering.
 
collectPrimitiveBases(self)
Returns primitives used to construct the Surface.
 
getBoundary(self)
Returns a list of the one-dimensional manifolds forming the boundary of the Surface (including holes).
 
getBoundaryLoop(self)
Returns the loop defining the outer boundary.
 
hasHole(self)
Returns True if a hole is present.
 
isColocated(self, primitive)
Returns True if each curve is colocated with a curve in primitive.
 
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 Manifold2D: getPoints, getRecombination, getTransfiniteMeshing, resetTransfiniteMeshing, setRecombination, setTransfiniteMeshing

Inherited from PrimitiveBase: __add__, __cmp__, __iadd__, __imul__, __isub__, __rmul__, __sub__, apply, copy, getConstructionPoints, getPrimitives, modifyBy, setLocalScale

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __str__

Class Variables [hide private]

Inherited from Manifold2D: ALTERNATE, LEFT, RIGHT

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, loop)
(Constructor)

 

Creates a ruled surface with boundary loop.

Parameters:
  • loop - CurveLoop defining the boundary of the surface.
Overrides: object.__init__

__neg__(self)

 

Returns a view onto the suface with reversed ordering.

Overrides: Primitive.__neg__

collectPrimitiveBases(self)

 

Returns primitives used to construct the Surface.

Overrides: Primitive.collectPrimitiveBases

getBoundary(self)

 

Returns a list of the one-dimensional manifolds forming the boundary of the Surface (including holes).

Overrides: Manifold2D.getBoundary

hasHole(self)

 

Returns True if a hole is present.

Overrides: Manifold2D.hasHole

isColocated(self, primitive)

 

Returns True if each curve is colocated with a curve in primitive.

Overrides: Primitive.isColocated

substitute(self, sub_dict)

 

Returns a copy of self with substitutes for the primitives used to construct it given by the dictionary sub_dict. If a substitute for the object is given by sub_dict the value is returned, otherwise a new instance with substituted arguments is returned.

Overrides: Primitive.substitute