Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 308585
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T07:39:50+00:00 2026-05-12T07:39:50+00:00

A pretty specific question if anyone knows the answer: What exactly does contains mean,

  • 0

A pretty specific question if anyone knows the answer: What exactly does “contains” mean, in the context of BoundingSphere1.Contains(BoundingSphere2)?

If i have a smaller sphere inside a larger sphere, does the smaller sphere “contain” the larger sphere as in the entirety of its volume is also the volume of the larger sphere? Would that return a ContainmentType.Contains?

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T07:39:50+00:00Added an answer on May 12, 2026 at 7:39 am

    From the MSDN page for the BoundingSphere.Contains method that takes a BoundingSphere parameter:

    Checks whether the current
    BoundingSphere contains the specified
    BoundingSphere.

    It returns a ContainmentType enumeration which

    Indicates the extent to which bounding
    volumes intersect or contain one
    another.

    Specifically:

    Contains: Indicates that one bounding
    volume completely contains the other.

    Disjoint: Indicates there is no
    overlap between the bounding volumes.

    Intersects: Indicates that the
    bounding volumes partially overlap.

    If BoundingSphere1 is smaller than BoundingSphere2 then I suppose BoundingSphere1.Contains(BoundingSphere2) would return a ContainmentType.Intersects result instead of a ContainmentType.Contains result since it doesn’t “completely” contain the other. On the other hand, BoundingSphere2.Contains(BoundingSphere1) should return ContainmentType.Contains since it “completely contains the other.”

    EDIT: I’ve updated my answer after reviewing the documentation again. Initially something sounded vague but now I think the emphasis in the enumeration details of “completely” and “partially” for Contains and Intersects, respectively, strengthen my expectations. I can’t test this but this sounds reasonable.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 183k
  • Answers 183k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer I can't remember the code exactly. But if you generate… May 12, 2026 at 4:35 pm
  • Editorial Team
    Editorial Team added an answer $page = preg_replace('/[^-a-zA-Z0-9_]/', '', $_GET['page']); Is probably the quickest way… May 12, 2026 at 4:35 pm
  • Editorial Team
    Editorial Team added an answer I would strive for no duplication. And imo you could… May 12, 2026 at 4:35 pm

Related Questions

I'm writing a little web-based utility for my brother who needs to merge columns
I know there is a lot of discussion over GD or ImageMagick for a
There is a similar question going around, but it just got the same old
As part of a wide ranging job for a cystic fibrosis support organization, they'd

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.