1 // Copyright (c) 1995-1999 Matra Datavision
2 // Copyright (c) 1999-2014 OPEN CASCADE SAS
4 // This file is part of Open CASCADE Technology software library.
6 // This library is free software; you can redistribute it and/or modify it under
7 // the terms of the GNU Lesser General Public License version 2.1 as published
8 // by the Free Software Foundation, with special exception defined in the file
9 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
10 // distribution for complete text of the license and disclaimer of any warranty.
12 // Alternatively, this file may be used under the terms of Open CASCADE
13 // commercial license or contractual agreement.
15 #include <Standard_DomainError.hxx>
17 inline const gp_Pnt& BRepBlend_Extremity::Value () const
22 inline void BRepBlend_Extremity::SetTangent(const gp_Vec& Tangent)
24 hastang = Standard_True;
28 inline Standard_Boolean BRepBlend_Extremity::HasTangent () const
33 inline const gp_Vec& BRepBlend_Extremity::Tangent () const
35 if (!hastang) {Standard_DomainError::Raise();}
39 inline void BRepBlend_Extremity::Parameters(Standard_Real& U,
40 Standard_Real& V) const
46 inline Standard_Real BRepBlend_Extremity::Tolerance() const
52 inline Standard_Boolean BRepBlend_Extremity::IsVertex() const
58 inline const Handle(Adaptor3d_HVertex)& BRepBlend_Extremity::Vertex () const
60 if (!isvtx) {Standard_DomainError::Raise();}
64 inline Standard_Integer BRepBlend_Extremity::NbPointOnRst () const
66 return seqpt.Length();
69 inline const BRepBlend_PointOnRst& BRepBlend_Extremity::PointOnRst
70 (const Standard_Integer Index) const
75 inline Standard_Real BRepBlend_Extremity::Parameter() const
81 inline Standard_Real BRepBlend_Extremity::ParameterOnGuide() const