Beispiel #1
0
 public Tuple3 CenterOfMass(ReferenceFrame referenceFrame)
 {
     if (ReferenceEquals(referenceFrame, null))
     {
         throw new ArgumentNullException("referenceFrame");
     }
     return(referenceFrame.PositionFromWorldSpace(InternalPart.CenterOfMass()).ToTuple());
 }
Beispiel #2
0
 public Tuple <Tuple3, Tuple3> BoundingBox(ReferenceFrame referenceFrame)
 {
     if (ReferenceEquals(referenceFrame, null))
     {
         throw new ArgumentNullException(nameof(referenceFrame));
     }
     return(InternalPart.GetBounds(referenceFrame).ToTuples());
 }