Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
ConstrainPointInsideGenericShape
Syntax
C++
int ConstrainPointInsideGenericShape(IFunctionHandler * pH);
Parameters 
Description 
position 
the position to check 
shapeName 
the name of the shape to use as constraint. 
checkHeight 
(optional) Default=false, if the flag is set the height should be constrained too.
ConstrainPointInsideGenericShape 

Syntax: AI.ConstrainPointInsideGenericShape(position, shapeName[, checkHeight]) 

Returns the nearest point inside specified shape.

Copyright (c) 2012. All rights reserved.