![]() |
OpenSiv3D
v0.6.5
C++20 framework for creative coding
|
#include <P2LineString.hpp>
Inherits s3d::P2Shape.
Public Member Functions | |
SIV3D_NODISCARD_CXX20 | P2LineString (b2Body &body, const LineString &lines, CloseRing closeRing, OneSided oneSided, const P2Material &material, const P2Filter &filter) |
P2ShapeType | getShapeType () const noexcept override |
bool | isClosed () const noexcept |
bool | isOneSided () const noexcept |
const P2Shape & | draw (const ColorF &color=Palette::White) const override |
const P2Shape & | drawFrame (double thickness, const ColorF &color=Palette::White) const override |
const P2Shape & | drawWireframe (double thickness, const ColorF &color=Palette::White) const override |
const LineString & | getLineString () const |
![]() | |
virtual | ~P2Shape ()=default |
void | setDensity (double density) noexcept |
double | getDensity () const noexcept |
void | setRestitution (double restitution) noexcept |
double | getRestitution () const noexcept |
void | setFriction (double friction) noexcept |
double | getFriction () const noexcept |
void | setRestitutionThreshold (double restitutionThreshold) noexcept |
double | getRestitutionThreshold () const noexcept |
void | setFilter (const P2Filter &filter) noexcept |
P2Filter | getFilter () const noexcept |
Additional Inherited Members | |
![]() | |
Array< b2Fixture * > | m_fixtures |
SIV3D_NODISCARD_CXX20 s3d::P2LineString::P2LineString | ( | b2Body & | body, |
const LineString & | lines, | ||
CloseRing | closeRing, | ||
OneSided | oneSided, | ||
const P2Material & | material, | ||
const P2Filter & | filter | ||
) |
|
overridevirtual |
Implements s3d::P2Shape.
|
overridevirtual |
Implements s3d::P2Shape.
|
overridevirtual |
Implements s3d::P2Shape.
const LineString& s3d::P2LineString::getLineString | ( | ) | const |
|
overridevirtualnoexcept |
Implements s3d::P2Shape.
|
noexcept |
|
noexcept |