online(Line, Distance) & onliner(Line, Relative distance) & onlinex(Line, X coordinate) & onliney(Li
online(Line, Distance) → [X coordinate (number), Y coordinate (number), Z coordinate (number)] This function calculates the point coordinate at the exact given distance along a line defined by its start and end coordinate values.
onliner(Line, Relative distance) → [X coordinate (number), Y coordinate (number), Z coordinate (number)] This function calculates the point coordinate at the exact relative distance along a line defined by its start and end coordinate values. (0) specifies the start point and (1) specifies the end point.
onlinex(Line, X coordinate) → [X coordinate (number), Y coordinate (number), Z coordinate (number)] This function calculates the point coordinate given X coordinate along a line defined by its start and end coordinate values.
onliney(Line, Y coordinate) → [X coordinate (number), Y coordinate (number), Z coordinate (number)] This function calculates the point coordinate given Y coordinate along a line defined by its start and end coordinate values.
onlinez(Line, Z coordinate) → [X coordinate (number), Y coordinate (number), Z coordinate (number)] This function calculates the point coordinate given Z coordinate along a line defined by its start and end coordinate values.
Example:
<br><O N="onlineObject1" T="Project" Category="Functions" TransAlignRule="1"><br> <!-- created by ParamML Examples on 8/23/2023 --><br> <P N="Line" V="[[0,0,40],[30,20,45]]" /><br> <P N="PointAtDistance" V="online(Line,15)" /><br> <P N="PointAtRelativeDistance" V="onliner(Line,0.5)" /><br> <P N="PointAtGivenXCoordinate" V="onlinex(Line,15)" /><br> <P N="PointAtGivenYCoordinate" V="onliney(Line,5)" /><br> <P N="PointAtGivenZCoordinate" V="onlinez(Line,44)" /><br></O><br>

To view this example in the library, see (https://openbrim.org/app/?incubator=1&author=ParamML_Examples_OpenBrIM+Platform&obj=objidom2dml0mlp649q44gqc5p )
Last updated