|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object common:Generic common:TrapColoring Standard:Standard_TrapColoringAngleToTrap
class
class Standard_TrapColoringAngleToTrap(common.ulb:TrapColoring) { public: float func Result(TrapMode pTrapMode) float angle = atan2(pTrapMode.getTransformedPoint(0)) if angle < 0 angle = angle + #pi * 2 endif return angle / (#pi * 2) endfunc default: title = "Angle to Trap" rating = recommended }
Constructor Summary | |
---|---|
Standard_TrapColoringAngleToTrap()
|
Method Summary | |
---|---|
float |
Result(TrapMode pTrapMode)
get a final result |
Methods inherited from class common:Generic |
---|
GetParent |
Methods inherited from class Object |
---|
|
Constructor Detail |
---|
public Standard_TrapColoringAngleToTrap()
Method Detail |
---|
public float Result(TrapMode pTrapMode)
TrapColoring
Result
in class TrapColoring
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |