mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-06-02 01:36:43 +08:00
74 lines
1.2 KiB
Plaintext
Executable File
74 lines
1.2 KiB
Plaintext
Executable File
#include <Standard_DomainError.hxx>
|
|
|
|
|
|
inline void IntPatch_Line::SetValue (const Standard_Boolean Uiso1,
|
|
const Standard_Boolean Viso1,
|
|
const Standard_Boolean Uiso2,
|
|
const Standard_Boolean Viso2) {
|
|
uS1 = Uiso1;
|
|
vS1 = Viso1;
|
|
uS2 = Uiso2;
|
|
vS2 = Viso2;
|
|
}
|
|
|
|
|
|
inline IntPatch_IType IntPatch_Line::ArcType () const {
|
|
return typ;
|
|
}
|
|
|
|
inline Standard_Boolean IntPatch_Line::IsTangent () const {
|
|
|
|
return tg;
|
|
}
|
|
|
|
|
|
inline IntSurf_TypeTrans IntPatch_Line::TransitionOnS1 () const {
|
|
|
|
return tS1;
|
|
}
|
|
|
|
|
|
inline IntSurf_TypeTrans IntPatch_Line::TransitionOnS2 () const {
|
|
|
|
return tS2;
|
|
}
|
|
|
|
|
|
inline IntSurf_Situation IntPatch_Line::SituationS1 () const {
|
|
|
|
if (tS1 != IntSurf_Touch) {Standard_DomainError::Raise();}
|
|
return sit1;
|
|
}
|
|
|
|
|
|
inline IntSurf_Situation IntPatch_Line::SituationS2 () const {
|
|
|
|
if (tS2 != IntSurf_Touch) {Standard_DomainError::Raise();}
|
|
return sit2;
|
|
}
|
|
|
|
|
|
inline Standard_Boolean IntPatch_Line::IsUIsoOnS1 () const {
|
|
|
|
return uS1;
|
|
}
|
|
|
|
|
|
inline Standard_Boolean IntPatch_Line::IsVIsoOnS1 () const {
|
|
|
|
return vS1;
|
|
}
|
|
|
|
|
|
inline Standard_Boolean IntPatch_Line::IsUIsoOnS2 () const {
|
|
|
|
return uS2;
|
|
}
|
|
|
|
|
|
|
|
inline Standard_Boolean IntPatch_Line::IsVIsoOnS2 () const {
|
|
|
|
return vS2;
|
|
}
|