summaryrefslogtreecommitdiff
path: root/inc/BlendFunc_Tensor.lxx
blob: 3e457633b03fa13669425f4b8b424f97b8947540 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// File:	BlendFunc_Tensor.lxx
// Created:	Thu Dec  5 10:07:04 1996
// Author:	Philippe MANGIN
//		<pmn@sgi29>

inline const Standard_Real& BlendFunc_Tensor::Value(const Standard_Integer Row, 
						    const Standard_Integer Col, 
						    const Standard_Integer Mat) const
{
  return Tab(Mat+nbmat*(Col-1)+nbmtcl*(Row-1)); 
}

inline Standard_Real& BlendFunc_Tensor::ChangeValue(const Standard_Integer Row, 
					      const Standard_Integer Col, 
					      const Standard_Integer Mat)
{
  return Tab(Mat+nbmat*(Col-1)+nbmtcl*(Row-1)); 
}