MCPcopy Create free account
hub / github.com/PDAL/PDAL / NrmVecGetVector

Function NrmVecGetVector

io/FbiReader.cpp:271–284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

269// ==================================================================
270
271void NrmVecGetVector( double& norm_x, double& norm_y, double& norm_z, const fbi::NrmVec *Vp)
272{
273 if (!NrmTblInit) {
274 NrmTblInit = 1 ;
275 NrmVecFillLookups() ;
276 }
277
278 int H = Vp->HorzAng ;
279 int V = Vp->VertAng ;
280 double Xml = NrmVxml[V] ;
281 norm_x = Xml * NrmHcos[H] ;
282 norm_y = Xml * NrmHsin[H] ;
283 norm_z = NrmVsin[V] ;
284}
285
286point_count_t FbiReader::read(PointViewPtr view, point_count_t count)
287{

Callers 1

readMethod · 0.85

Calls 1

NrmVecFillLookupsFunction · 0.85

Tested by

no test coverage detected