Public Member Functions | Protected Member Functions | Private Attributes | List of all members
LagrangeCurve1 Class Reference
Inheritance diagram for LagrangeCurve1:
Inheritance graph
[legend]
Collaboration diagram for LagrangeCurve1:
Collaboration graph
[legend]

Public Member Functions

 LagrangeCurve1 (pMeshEnt in_vtx1, pMeshEnt in_vtx2)
 
- Public Member Functions inherited from ParametricCurve
int eval (Point1d in_t, Point3d &out_xyz)
 
int order (void)
 
int deriv1 (Point1d in_t, Point3d &out_xyz)
 
void deriv1_fd (const Point1d in_t, Point3d &dxyz_dt, double step=1.0e-3)
 Evaluate first derivative numerically by finite difference.
 

Protected Member Functions

int v_eval (Point1d in_xi, Point3d &out_xyz)
 
int v_order ()
 
int v_deriv1 (Point1d in_xi, Point3d &out_xyz)
 

Private Attributes

pMeshEnt m_vtx_start
 
pMeshEnt m_vtx_end
 
Point3d m_coords [2]
 
int m_model_type
 

Constructor & Destructor Documentation

LagrangeCurve1::LagrangeCurve1 ( pMeshEnt  in_vtx1,
pMeshEnt  in_vtx2 
)

input is an ordered pair of mesh vertices, which defines the direction pointing from xi1 to xi2 in the barycentric coodinate system.

Member Function Documentation

int LagrangeCurve1::v_eval ( Point1d  in_xi,
Point3d &  out_xyz 
)
protectedvirtual

input parametric coord is xi1, and value of xi1 goes from 1 to 0, from the left end of the curve to its right end

Implements ParametricCurve.


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