protected GraphIterationElement < ST , PT > newIterationElement ( ST previous_segment , ST segment , PT point , double distanceToReach , double distanceToConsume ) { return new GraphIterationElement <> ( previous_segment , segment , point , distanceToReach , distanceToConsume ) ; }
Create an instance of GraphIterationElement .