Assignments
Assignments
geometry.todo.inl
Go to the documentation of this file.
1/*
2Copyright (c) 2019, Michael Kazhdan
3All rights reserved.
4
5Redistribution and use in source and binary forms, with or without modification,
6are permitted provided that the following conditions are met:
7
8Redistributions of source code must retain the above copyright notice, this list of
9conditions and the following disclaimer. Redistributions in binary form must reproduce
10the above copyright notice, this list of conditions and the following disclaimer
11in the documentation and/or other materials provided with the distribution.
12
13Neither the name of the Johns Hopkins University nor the names of its contributors
14may be used to endorse or promote products derived from this software without specific
15prior written permission.
16
17THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
18EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES
19OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
20SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
21INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
22TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
23BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
24CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
25ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
26DAMAGE.
27*/
28
29namespace Util
30{
32 // Matrix //
34 template< unsigned int Dim >
36 {
38 // Compute the matrix exponent here //
40 WARN_ONCE( "method undefined" );
41 return Matrix();
42 }
43
44 template< unsigned int Dim >
46 {
48 // Compute the closest rotation here //
50 WARN_ONCE( "method undefined" );
51 return Matrix();
52 }
53
55 // BoundingBox //
57 template< unsigned int Dim >
59 {
61 // Compute the intersection of a BoundingBox with a Ray here //
63 WARN_ONCE( "method undefined" );
64 return BoundingBox<1>();
65 }
66
68 // Quadric //
70 template< unsigned int Dim >
72 {
73 WARN_ONCE( "method undefined" );
74 return Quadric<1>();
75 }
76}
Definition geometry.h:345
BoundingBox< 1 > intersect(const Ray< Dim > &ray) const
Definition geometry.todo.inl:58
Definition geometry.h:168
Quadric< 1 > intersect(const Ray< Dim > &ray) const
Definition geometry.todo.inl:71
Definition geometry.h:299
#define WARN_ONCE(...)
Definition exceptions.h:148
Definition algebra.h:7