1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-05-06 10:36:12 +03:00
occt/src/IntStart/IntStart_Segment.lxx
2012-03-05 19:23:40 +04:00

43 lines
687 B
Plaintext
Executable File

#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;
}