Property | Type | Description | |
---|---|---|---|
InertiaTensorScale | float | ||
NumberOfSamplesPerDimension | int |
Method | Description | |
---|---|---|
AveragePoints ( RawList |
Averages together all the points in the point list.
|
|
ComputeCenter ( |
Computes the center of a convex shape.
|
|
ComputeCenter ( |
Computes the center and volume of a convex shape.
|
|
ComputeVolumeDistribution ( |
Computes the volume and volume distribution of a shape based on a given center.
|
|
ComputeVolumeDistribution ( |
Computes the volume and volume distribution of a shape.
|
|
ComputeVolumeDistribution ( RawList |
Computes a volume distribution based on a bunch of point contributions.
|
|
GetPointContribution ( float pointWeight, Microsoft.Xna.Framework.Vector3 ¢er, Microsoft.Xna.Framework.Vector3 p, |
Computes the volume contribution of a point.
|
|
GetPoints ( |
Gets the point contributions within a convex shape.
|
Method | Description | |
---|---|---|
ScanObject ( float rayIncrement, float maxLength, Microsoft.Xna.Framework.Vector3 &increment1, Microsoft.Xna.Framework.Vector3 &increment2, Ray &ray, |
public static AveragePoints ( RawList |
||
pointContributions | RawList |
Point list to average. |
return | Microsoft.Xna.Framework.Vector3 |
public static ComputeCenter ( |
||
shape | Shape to compute the center of. | |
return | Microsoft.Xna.Framework.Vector3 |
public static ComputeCenter ( |
||
shape | Shape to compute the center of. | |
volume | float | Volume of the shape. |
return | Microsoft.Xna.Framework.Vector3 |
public static ComputeVolumeDistribution ( |
||
shape | Shape to compute the volume information of. | |
center | Microsoft.Xna.Framework.Vector3 | Location to use as the center of the shape when computing the volume distribution. |
volume | float | Volume of the shape. |
return |
public static ComputeVolumeDistribution ( |
||
shape | Shape to compute the volume information of. | |
volume | float | Volume of the shape. |
return |
public static ComputeVolumeDistribution ( RawList |
||
pointContributions | RawList |
Point contributions to the volume distribution. |
center | Microsoft.Xna.Framework.Vector3 | Location to use as the center for purposes of computing point contributions. |
return |
public static GetPointContribution ( float pointWeight, Microsoft.Xna.Framework.Vector3 ¢er, Microsoft.Xna.Framework.Vector3 p, |
||
pointWeight | float | Weight of the point. |
center | Microsoft.Xna.Framework.Vector3 | Location to use as the center for the purposes of computing the contribution. |
p | Microsoft.Xna.Framework.Vector3 | Point to compute the contribution of. |
contribution | Contribution of the point. | |
return | void |
public static GetPoints ( |
||
shape | Shape to compute the point contributions of. | |
volume | float | Volume of the shape. |
outputPointContributions | RawList |
Point contributions of the shape. |
return | void |