GeometricLine.getBoundsAtNormalisedPosition


getBoundsAtNormalisedPosition(nrmCoordOnLine, lineID, yMax, yMin, zMin, zMax, ey, ez)

Returns the bounding rectangle of this section. A normalised coordinate is needed for tapering sections - use 0 for non-tapering sections. For multi-varying sections that are set to 'follow path', a line ID must also be passed in, so that the path coordinates (chainage) can be calculated. For all other sections, the line ID is optional. For any kind section, if a line ID is passed in, the eccentricity of the section at the given location will also be calculated and returned. If the line is given as 'nothing', the eccentricity cannot be calculated, and will be returned as 0

nrmCoordOnLinedoublenormalised coord w.r.t the line
lineIDstring or long name or ID of line
yMaxdouble top coord relative to centroid
yMindouble bottom coord relative to centroid
zMindouble left coord relative to centroid
zMaxdouble right coord relative to centroid
eydouble eccentricity of section
ezdouble eccentricity of section
Return valuenone 

Back to GeometricLine

Back to Overview