Overture  Version 25
Public Member Functions | List of all members
SimpleCurve Class Reference

simple curve class, represented as a single nurb, assigns vertex ids More...

#include <smesh.hh>

Inheritance diagram for SimpleCurve:
Inheritance graph
[legend]
Collaboration diagram for SimpleCurve:
Collaboration graph
[legend]

Public Member Functions

 SimpleCurve ()
 
 SimpleCurve (const NurbsMapping &nurb, int ps, int pe)
 
virtual ~SimpleCurve ()
 
virtual NurbsMappinggetNurbs ()
 
virtual real getRangeBound (int side, int axis)
 
virtual void discretize (real dxRef, real dyRef, ArraySimple< real > &grid)
 discretize the curve using dxRef and dyRef as a guide, return the
 
virtual ArraySimple< int > & getGridIDList ()
 
virtual ArraySimple< real > & getVertices ()
 
virtual int numberOfPoints ()
 
virtual void region_1 (Region *r)
 
virtual void region_2 (Region *r)
 
virtual void setNumberOfPoints (int n)
 
virtual bool autoGridSize () const
 
virtual void deleteStretching ()
 
virtual void stretchPoints ()
 
- Public Member Functions inherited from Curve
 Curve (int ps=-1, int pe=-1)
 
virtual ~Curve ()
 
Regionregion_1 ()
 
Regionregion_2 ()
 
virtual void unbindRegion (Region *r)
 
void setStartPointID (int pid)
 
void setEndPointID (int pid)
 
int getStartPointID ()
 
int getEndPointID ()
 
virtual void resetIDList ()
 
int ID () const
 

Additional Inherited Members

- Protected Attributes inherited from Curve
ArraySimple< int > gridIDList
 

Detailed Description

simple curve class, represented as a single nurb, assigns vertex ids

Constructor & Destructor Documentation

SimpleCurve::SimpleCurve ( )
inline
SimpleCurve::SimpleCurve ( const NurbsMapping nurb,
int  ps,
int  pe 
)
inline
virtual SimpleCurve::~SimpleCurve ( )
inlinevirtual

Member Function Documentation

virtual bool SimpleCurve::autoGridSize ( ) const
inlinevirtual
virtual void SimpleCurve::deleteStretching ( )
virtual

Referenced by main().

virtual void SimpleCurve::discretize ( real  dxRef,
real  dyRef,
ArraySimple< real > &  grid 
)
virtual

discretize the curve using dxRef and dyRef as a guide, return the

Implements Curve.

Referenced by numberOfPoints().

virtual ArraySimple<int>& SimpleCurve::getGridIDList ( )
virtual

Implements Curve.

virtual NurbsMapping& SimpleCurve::getNurbs ( )
inlinevirtual

Implements Curve.

virtual real SimpleCurve::getRangeBound ( int  side,
int  axis 
)
inlinevirtual

Implements Curve.

References Mapping::getRangeBound().

virtual ArraySimple<real>& SimpleCurve::getVertices ( )
virtual

Implements Curve.

virtual int SimpleCurve::numberOfPoints ( )
inlinevirtual
virtual void SimpleCurve::region_1 ( Region r)
inlinevirtual

Reimplemented from Curve.

References Curve::region_1().

Referenced by main().

virtual void SimpleCurve::region_2 ( Region r)
inlinevirtual

Reimplemented from Curve.

References Curve::region_2().

virtual void SimpleCurve::setNumberOfPoints ( int  n)
virtual

Referenced by main().

virtual void SimpleCurve::stretchPoints ( )
virtual

Referenced by main().


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