summaryrefslogtreecommitdiff
path: root/inc/IntPatch_PrmPrmIntersection_T3Bits.lxx
blob: 8886ea2e451fa72b5f7a4ec4b1eb9d97dde36907 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// File:      IntPatch_PrmPrmIntersection_T3Bits.lxx
// Created:   Thu Dec 16 16:34:03 1999
// Author:    Atelier CAS2000
// Copyright: OPEN CASCADE 1999

inline void IntPatch_PrmPrmIntersection_T3Bits::Add(const Standard_Integer t)
{
  ((Standard_Integer *) p)[t>>5] |= (1<<(((unsigned int)t)&31));
}

inline Standard_Integer IntPatch_PrmPrmIntersection_T3Bits::Val(const Standard_Integer t) const
{
  return (((Standard_Integer *) p)[t>>5] & (1<<(((unsigned int)t)&31)));
}

inline void IntPatch_PrmPrmIntersection_T3Bits::Raz(const Standard_Integer t)
{
  ((Standard_Integer *) p)[t>>5] &= ~(1<<(((unsigned int)t)&31));
}