mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-29 07:32:02 +00:00
27 lines
661 B
C
27 lines
661 B
C
|
#ifndef __basisblade_h
|
||
|
#define __basisblade_h
|
||
|
#include <Object.h>
|
||
|
|
||
|
@class Metric;
|
||
|
|
||
|
@interface BasisBlade : Object
|
||
|
{
|
||
|
unsigned mask;
|
||
|
double scale;
|
||
|
}
|
||
|
+(BasisBlade *) scalar:(double) scale;
|
||
|
+(BasisBlade *) zero;
|
||
|
+(BasisBlade *) basis:(unsigned) mask;
|
||
|
+(BasisBlade *) basis:(unsigned) mask scale:(double) scale;
|
||
|
-(BasisBlade *) product:(BasisBlade *) b isOuter:(int)outer metric:(Metric *) m;
|
||
|
-(BasisBlade *) outerProduct:(BasisBlade *) b;
|
||
|
-(BasisBlade *) geometricProduct:(BasisBlade *) b metric:(Metric *) m;
|
||
|
-(BasisBlade *) geometricProduct:(BasisBlade *) b;
|
||
|
-(int) grade;
|
||
|
-(unsigned) mask;
|
||
|
-(double) scale;
|
||
|
-(string) name;
|
||
|
@end
|
||
|
|
||
|
#endif//__basisblade_h
|