98 void setPlanes(
const std::array<agx::Plane, 3>& planes);
116 std::array<agx::Vec3, 3> m_cutPoints;
117 std::array<agx::Vec3, 3> m_topPoints;
118 std::array<agx::Vec3, 3> m_failPoints;
119 std::array<agx::Plane, 3> m_planes;
123 bool m_isBorderProjected =
false;
134 return m_cutPoints[side];
141 return m_cutPoints[side];
148 return m_topPoints[side];
155 return m_topPoints[side];
162 return m_failPoints[side];
169 return m_failPoints[side];
A convex class for geometric intersection tests.
void setEnable(bool enabled)
const agxCollide::Convex * getMesh() const
void constructTriangleArrayAndIndices(agx::Vec3Vector &vertices, agx::UInt32Vector &indices) const
agx::Vec3 & getFailurePoint(Side side)
agx::Real getFailureAngle() const
bool isBorderProjected() const
void setPlanes(const std::array< agx::Plane, 3 > &planes)
void setFailureAngle(agx::Real angle)
agx::Real & getToolInclination()
void setTerrainInclination(agx::Real angle)
std::array< agx::Plane, 3 > & getPlanes()
agx::Real getToolInclination() const
agxCollide::Convex * getMesh()
static const std::array< Side, 3 > SideIterable
agx::Vec3 & getTopPoint(Side side)
void setBorderProjected(bool isBorderProjected)
agx::Real getTerrainInclination() const
void setMesh(agxCollide::Convex *convex)
void setCuttingPoint(const agx::Vec3 &point, Side side)
bool hasIntersectingSideNormals() const
void setFailurePoint(const agx::Vec3 &point, Side side)
agx::Vec3 & getCuttingPoint(Side side)
void setToolInclination(agx::Real angle)
agx::Real & getFailureAngle()
const std::array< agx::Plane, 3 > & getPlanes() const
agx::Real & getTerrainInclination()
void setTopPoint(const agx::Vec3 &point, Side side)
The agxTerrain namespace contains a 3D model for a dynamic deformable Terrain and related classes.
agx::Vector< SoilWedge > SoilWedgeVector