mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-05-06 10:36:12 +03:00
43 lines
687 B
Plaintext
Executable File
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;
|
|
}
|
|
|