| 50 | |
| 51 | |
| 52 | NAN_METHOD(BoundingBox::New) |
| 53 | { |
| 54 | if (!info.IsConstructCall()) { |
| 55 | return Nan::ThrowError(" use new occ.BoundingBox() to construct a BoundingBox"); |
| 56 | } |
| 57 | |
| 58 | BoundingBox* pThis = new BoundingBox(); |
| 59 | pThis->Wrap(info.This()); |
| 60 | |
| 61 | BoundingBox::Update(pThis,info); |
| 62 | pThis->InitNew(info); |
| 63 | |
| 64 | info.GetReturnValue().Set(info.This()); |
| 65 | |
| 66 | } |
| 67 | |
| 68 | NAN_METHOD(BoundingBox::addPoint) |
| 69 | { |
nothing calls this directly
no test coverage detected