|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Objectcommon:Generic
common:TrapShape
Standard:Standard_TrapShapePinch
class
class Standard_TrapShapePinch(common.ulb:TrapShape) {
public:
float func Iterate(complex pz)
float d2 = atan2(pz)
if d2 < 0
d2 = d2 + 2*#pi
endif
return sqrt(cabs(pz)) / abs(sin(d2*@traporder*0.5))
endfunc
default:
title = "Pinch"
float param traporder
caption = "Order"
default = 4
hint = "This is the number of 'leaves' for the pinch shape."
endparam
}
| Constructor Summary | |
|---|---|
Standard_TrapShapePinch()
|
|
| Method Summary | |
|---|---|
float |
Iterate(complex pz)
call this for each iteration being trapped |
| Methods inherited from class common:TrapShape |
|---|
GetColorChannel, GetTextureValue, GetTransformedPoint, Init, IterateSilent, SetThreshold |
| Methods inherited from class common:Generic |
|---|
GetParent |
| Methods inherited from class Object |
|---|
|
| Constructor Detail |
|---|
public Standard_TrapShapePinch()
| Method Detail |
|---|
public float Iterate(complex pz)
TrapShape
Iterate in class TrapShape
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||