MCPcopy Create free account
hub / github.com/Geode-solutions/OpenGeode / plane_constant

Method plane_constant

src/geode/geometry/basic_objects/plane.cpp:67–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65 }
66 template < typename PointType >
67 double GenericPlane< PointType >::plane_constant() const
68 {
69 double plane_constant{ 0.0 };
70 for( const auto i : LRange{ 3 } )
71 {
72 plane_constant -= origin().value( i ) * normal().value( i );
73 }
74 return plane_constant;
75 }
76
77 template < typename PointType >
78 Point3D GenericPlane< PointType >::point_on_plane() const

Callers 3

line_plane_intersectionFunction · 0.80
plane_plane_intersectionFunction · 0.80
point_side_to_planeFunction · 0.80

Calls 1

valueMethod · 0.45

Tested by

no test coverage detected