GIScene.Process.LineOfSight_fastClient Class
The Line of Sight Process calculates the visibility bewtween two points in the scene
Constructor
GIScene.Process.LineOfSight_fastClient
()
Item Index
Methods
execute
()
Object
run the process with the inputs that have been set before
Returns:
Object:
data an object with all input and output values of the process
getNearestIntersectionObject
(
Object
private
-
referencePoint
-
intersectionObjectA
-
intersectionObjectB
Parameters:
-
referencePoint
THREE.Vector3 -
intersectionObjectA
Objectobject returned from Raycaster.intersectObjects() method
-
intersectionObjectB
Objectobject returned from Raycaster.intersectObjects() method
Returns:
Object:
nearestIntersectionObject
getOutput
(
Mixed
-
outputIdentifier
Method to get a specific output result after process execution
Parameters:
-
outputIdentifier
Object
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:
-
identifier
String
Returns:
Object:
parameterDescription
setInput
(
-
inputIdentifier
-
value
Method to set a specific input parameter
Parameters:
-
inputIdentifier
Stringthe inputIdentifier defined in the process description -
value
Mixedthe value of the input to be set
setInputs
(
-
inputParams
Method to set several inputs at a time
Parameters:
-
inputParams
ObjectAn object with key:value pairs of input parameters, where key corresponds to the inputIdentifiers defined in the process description