1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

Integration of OCCT 6.5.0 from SVN

This commit is contained in:
bugmaster
2011-03-16 07:30:28 +00:00
committed by bugmaster
parent 4903637061
commit 7fd59977df
16375 changed files with 3882564 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
#include <Standard_DomainError.hxx>
inline void IntStart_Segment::SetValue (const TheArc& A) {
hasfp = Standard_False;
haslp = Standard_False;
arc = A;
}
inline const TheArc& IntStart_Segment::Curve () const {
return arc;
}
inline Standard_Boolean IntStart_Segment::HasFirstPoint () const {
return hasfp;
}
inline const ThePathPoint& IntStart_Segment::FirstPoint () const {
if (!hasfp) { Standard_DomainError::Raise(); }
return thefp;
}
inline Standard_Boolean IntStart_Segment::HasLastPoint () const {
return haslp;
}
inline const ThePathPoint& IntStart_Segment::LastPoint () const {
if (!haslp) { Standard_DomainError::Raise(); }
return thelp;
}