{"name":"Terrain Processor: Line: Segments Objects","title":"Terrain Processor: Line: Segments Objects","type":"topic","url":"https://community.bistudio.com/wiki/Terrain_Processor:_Line:_Segments_Objects","revid":201508,"updated":"2021-01-17T20:12:16Z","aliases":[],"markdown":"#### Task details\n\n**Task name** : Line: Segments Objects\n\n**Dll plugin name** : BITasksPlugin.dll\n\n**Geometry type** : Polyline, PolylineM, PolylineZ\n\n**Heightmap** : No\n\n#### Description\n\nMethod puts objects on polylines nodes with rotation to next node.\n\n#### Task parameters\n\n- **Objects distance** - Distance between objects.\n- **Centerline offset** - Offset from center line to objects line\n- **Spline interpolation** - Use Bezier spline instead of original polyline.\n\n#### Object prototype parameters\n\n- **OBJECT** - Object's prototype name\n- **PROB** - Object's probability\n- **MINHEIGHT** - Minimal size in %\n- **MAXHEIGHT** - Maximal size in %\n- **ROTATION** - Rotation offset in °\n\n#### Usage\n\nYou may create polylines of powerlines with node on each pole, and use this module to place the poles with correct rotation.\n\n#### Algorithm\n\nFor each shape (linear) do :\n\n1. For each node on polyline do:\n   1. Compute right forward rotation\n   1. Add object prototype","sections":[{"heading":"Task details","level":4,"markdown":"**Task name** : Line: Segments Objects\n\n**Dll plugin name** : BITasksPlugin.dll\n\n**Geometry type** : Polyline, PolylineM, PolylineZ\n\n**Heightmap** : No"},{"heading":"Description","level":4,"markdown":"Method puts objects on polylines nodes with rotation to next node."},{"heading":"Task parameters","level":4,"markdown":"- **Objects distance** - Distance between objects.\n- **Centerline offset** - Offset from center line to objects line\n- **Spline interpolation** - Use Bezier spline instead of original polyline."},{"heading":"Object prototype parameters","level":4,"markdown":"- **OBJECT** - Object's prototype name\n- **PROB** - Object's probability\n- **MINHEIGHT** - Minimal size in %\n- **MAXHEIGHT** - Maximal size in %\n- **ROTATION** - Rotation offset in °"},{"heading":"Usage","level":4,"markdown":"You may create polylines of powerlines with node on each pole, and use this module to place the poles with correct rotation."},{"heading":"Algorithm","level":4,"markdown":"For each shape (linear) do :\n\n1. For each node on polyline do:\n   1. Compute right forward rotation\n   1. Add object prototype"}],"categories":["Terrain Processor Manual"],"groups":["Tools and File Formats"]}