00001 00002 // Magic Software, Inc. 00003 // http://www.magic-software.com 00004 // Copyright (c) 2000, All Rights Reserved 00005 // 00006 // Source code from Magic Software is supplied under the terms of a license 00007 // agreement and may not be copied or disclosed except in accordance with the 00008 // terms of that agreement. The various license agreements may be found at 00009 // the Magic Software web site. This file is subject to the license 00010 // 00011 // FREE SOURCE CODE 00012 // http://www.magic-software.com/License.html/free.pdf 00013 00014 //---------------------------------------------------------------------------- 00015 inline MgcSegment3::MgcSegment3 () 00016 { 00017 // no initialization for efficiency 00018 } 00019 //---------------------------------------------------------------------------- 00020 inline MgcVector3& MgcSegment3::Origin () 00021 { 00022 return m_kOrigin; 00023 } 00024 //---------------------------------------------------------------------------- 00025 inline const MgcVector3& MgcSegment3::Origin () const 00026 { 00027 return m_kOrigin; 00028 } 00029 //---------------------------------------------------------------------------- 00030 inline MgcVector3& MgcSegment3::Direction () 00031 { 00032 return m_kDirection; 00033 } 00034 //---------------------------------------------------------------------------- 00035 inline const MgcVector3& MgcSegment3::Direction () const 00036 { 00037 return m_kDirection; 00038 } 00039 //----------------------------------------------------------------------------