Method GetMomentAbout
- Namespace
- GeometryHelper
- Assembly
- GeometryHelper.dll
GetMomentAbout(GeoPoint3, GeoVector3)
Gets the moment of inertia about an axis through a point, by way of the parallel axis theorem.
public double GetMomentAbout(GeoPoint3 point, GeoVector3 direction)
Parameters
pointGeoPoint3A point on the axis.
directionGeoVector3The direction of the axis.
Returns
- double
The moment about that axis.
Exceptions
- ArgumentException
Thrown when the direction has no length.