Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
fixedlocation.cpp
Go to the documentation of this file.
1/*
2 FixedLocation - directly positioning a MObject to a fixed location
3
4 Copyright (C)
5 2008, Hermann Vosseler <Ichthyostega@web.de>
6
7  **Lumiera** is free software; you can redistribute it and/or modify it
8  under the terms of the GNU General Public License as published by the
9  Free Software Foundation; either version 2 of the License, or (at your
10  option) any later version. See the file COPYING for further details.
11
12* *****************************************************************/
13
14
22
23namespace steam {
24namespace mobject {
25namespace session {
26
27
28 FixedLocation*
30 {
31 return new FixedLocation (*this);
32 }
33
34
36 void
38 {
39 LocatingPin::intersect (solution);
40
41 TODO ("either set position or make overconstrained");
42 if (solution.minTime <= this->time_)
43 solution.minTime = this->time_;
44 else
45 solution.impo = true;
46 if (solution.maxTime >= this->time_)
47 solution.maxTime = this->time_;
48 else
49 solution.impo = true;
50 }
51
52
53
54}}} // namespace steam::mobject::session
The most common case of positioning a MObject in the Session: directly specifying a constant position...
virtual void intersect(LocatingSolution &) const
virtual FixedLocation * clone() const
virtual void intersect(LocatingSolution &) const
Specialised LocatingPin for use in Placement, especially for globally fixed positions The FixedLocati...
Namespace of Session and user visible high-level objects.
Definition sequence.hpp:65
Steam-Layer implementation namespace root.