GIScene.Process.LineOfSight_simpleClient Class
The Line of Sight Process calculates the visibility bewtween two points in the scene
Constructor
GIScene.Process.LineOfSight_simpleClient
()
Item Index
Methods
execute
(
-
[onExecute]
run the process with the inputs that have been set before
Parameters:
-
[onExecute]Function optionalcallback that will be called when process is finished
getNearestIntersectionObject
(
Object
private
-
referencePoint -
intersectionObjectA -
intersectionObjectB
Parameters:
-
referencePointTHREE.Vector3 -
intersectionObjectAObjectobject returned from Raycaster.intersectObjects() method
-
intersectionObjectBObjectobject returned from Raycaster.intersectObjects() method
Returns:
Object:
nearestIntersectionObject
getOutput
(
Mixed
-
outputIdentifier
Method to get a specific output result after process execution
Parameters:
-
outputIdentifierObject
Returns:
Mixed:
an output value of the process
getOutputs
()
Object
Method to get all process outputs after process execution
Returns:
Object:
An object containing all process outputs
getParamDescriptionById
(
Object
-
identifier
Get a param desription (input or ouput) by its identifier
Parameters:
-
identifierString
Returns:
Object:
parameterDescription
setInput
(
-
inputIdentifier -
value
Method to set a specific input parameter
Parameters:
-
inputIdentifierStringthe inputIdentifier defined in the process description -
valueMixedthe value of the input to be set
setInputs
(
-
inputParams
Method to set several inputs at a time
Parameters:
-
inputParamsObjectAn object with key:value pairs of input parameters, where key corresponds to the inputIdentifiers defined in the process description
