Senior Member
Join Date: Aug 2012
Location: Vermilion Alberta Canada
Posts: 5,680
Mentioned: 18 Post(s)
Quoted: 2483 Post(s)

LinkBack  Thread Tools 
Sponsored Links  
Advertisement 

Sponsored Links  
Advertisement 

double over = Math.PI  Math.Abs(Math.Abs(fixHeadingSection  fixHeading)  Math.PI); if (over < 1.5) { trailingToolEasting = hitchEasting + (Math.Sin(fixHeadingSection) * (vehicle.toolTrailingHitchLength)); trailingToolNorthing = hitchNorthing + (Math.Cos(fixHeadingSection) * (vehicle.toolTrailingHitchLength)); } else { fixHeadingSection = fixHeading; trailingToolEasting = hitchEasting + (Math.Sin(fixHeadingSection) * (vehicle.toolTrailingHitchLength)); trailingToolNorthing = hitchNorthing + (Math.Cos(fixHeadingSection) * (vehicle.toolTrailingHitchLength)); prevTrailingToolNorthing = trailingToolNorthing; prevTrailingToolEasting = trailingToolEasting; }
Sponsored Links  
Advertisement 


Thread Tools  
Show Printable Version Show Printable Version
Email this Page Email this Page


Posting Rules  