IsAnAllRoundLightFunctionIsAnAllRoundLightFunction

Function IsAnAllRoundLightFunction

RemarksReturn a boolean to state if the light is an all round light

PARAMETERS
NameDirectionDefinition
IsAnAllRoundLightoutput...

IS sector1 GIVEN ?
YESNO
SET sector1 EQUAL TO 0
SET sector2 EQUAL TO 0
DO NOTHING HERE

VARIABLES
NameExpressionValueDefaultValue
diffSectr1Sectr2 sectr2 sectr1

IS diffSectr1Sectr2 EQUAL TO 0 degree ?
YESNO
SET IsAnAllRoundLight EQUAL TO TRUE
SET IsAnAllRoundLight EQUAL TO FALSE