三次ベジェ曲線
More...
#include <Bezier3.hpp>
|
SIV3D_NODISCARD_CXX20 | Bezier3 ()=default |
|
constexpr SIV3D_NODISCARD_CXX20 | Bezier3 (const Vec2 &_p0, const Vec2 &_p1, const Vec2 &_p2, const Vec2 &_p3) noexcept |
|
constexpr Vec2 & | p (size_t index) noexcept |
|
constexpr const Vec2 & | p (size_t index) const noexcept |
|
constexpr Vec2 | point (size_t index) const |
|
constexpr Vec2 | getPos (double t) const noexcept |
|
Vec2 | getTangent (double t) const noexcept |
|
LineString | getLineString (int32 quality=24) const |
|
LineString | getLineString (double start, double end, int32 quality=24) const |
|
RectF | boundingRect () const noexcept |
|
size_t | hash () const noexcept |
|
template<class Shape2DType > |
constexpr bool | intersects (const Shape2DType &other) const |
|
template<class Shape2DType > |
Optional< Array< Vec2 > > | intersectsAt (const Shape2DType &other) const |
|
const Bezier3 & | paint (Image &dst, const Color &color) const |
|
const Bezier3 & | paint (Image &dst, int32 thickness, const Color &color) const |
|
const Bezier3 & | overwrite (Image &dst, const Color &color, Antialiased antialiased=Antialiased::Yes) const |
|
const Bezier3 & | overwrite (Image &dst, int32 thickness, const Color &color, Antialiased antialiased=Antialiased::Yes) const |
|
const Bezier3 & | draw (const ColorF &color=Palette::White, int32 quality=24) const |
|
const Bezier3 & | draw (double thickness, const ColorF &color=Palette::White, int32 quality=24) const |
|
const Bezier3 & | draw (const LineStyle &style, double thickness, const ColorF &color=Palette::White, int32 quality=24) const |
|
|
template<class CharType > |
std::basic_ostream< CharType > & | operator<< (std::basic_ostream< CharType > &output, const Bezier3 &value) |
|
template<class CharType > |
std::basic_istream< CharType > & | operator>> (std::basic_istream< CharType > &input, Bezier3 &value) |
|
void | Formatter (FormatData &formatData, const Bezier3 &value) |
|
◆ Bezier3() [1/2]
SIV3D_NODISCARD_CXX20 s3d::Bezier3::Bezier3 |
( |
| ) |
|
|
default |
◆ Bezier3() [2/2]
constexpr SIV3D_NODISCARD_CXX20 s3d::Bezier3::Bezier3 |
( |
const Vec2 & |
_p0, |
|
|
const Vec2 & |
_p1, |
|
|
const Vec2 & |
_p2, |
|
|
const Vec2 & |
_p3 |
|
) |
| |
|
constexprnoexcept |
◆ boundingRect()
RectF s3d::Bezier3::boundingRect |
( |
| ) |
const |
|
noexcept |
◆ draw() [1/3]
const Bezier3& s3d::Bezier3::draw |
( |
const ColorF & |
color = Palette::White , |
|
|
int32 |
quality = 24 |
|
) |
| const |
◆ draw() [2/3]
const Bezier3& s3d::Bezier3::draw |
( |
const LineStyle & |
style, |
|
|
double |
thickness, |
|
|
const ColorF & |
color = Palette::White , |
|
|
int32 |
quality = 24 |
|
) |
| const |
◆ draw() [3/3]
const Bezier3& s3d::Bezier3::draw |
( |
double |
thickness, |
|
|
const ColorF & |
color = Palette::White , |
|
|
int32 |
quality = 24 |
|
) |
| const |
◆ getLineString() [1/2]
LineString s3d::Bezier3::getLineString |
( |
double |
start, |
|
|
double |
end, |
|
|
int32 |
quality = 24 |
|
) |
| const |
◆ getLineString() [2/2]
◆ getPos()
constexpr Vec2 s3d::Bezier3::getPos |
( |
double |
t | ) |
const |
|
constexprnoexcept |
◆ getTangent()
Vec2 s3d::Bezier3::getTangent |
( |
double |
t | ) |
const |
|
noexcept |
◆ hash()
size_t s3d::Bezier3::hash |
( |
| ) |
const |
|
noexcept |
◆ intersects()
template<class Shape2DType >
constexpr bool s3d::Bezier3::intersects |
( |
const Shape2DType & |
other | ) |
const |
|
constexpr |
◆ intersectsAt()
template<class Shape2DType >
◆ overwrite() [1/2]
◆ overwrite() [2/2]
◆ p() [1/2]
constexpr const Vec2& s3d::Bezier3::p |
( |
size_t |
index | ) |
const |
|
constexprnoexcept |
◆ p() [2/2]
constexpr Vec2& s3d::Bezier3::p |
( |
size_t |
index | ) |
|
|
constexprnoexcept |
◆ paint() [1/2]
◆ paint() [2/2]
◆ point()
constexpr Vec2 s3d::Bezier3::point |
( |
size_t |
index | ) |
const |
|
constexpr |
◆ Formatter
◆ operator<<
template<class CharType >
std::basic_ostream<CharType>& operator<< |
( |
std::basic_ostream< CharType > & |
output, |
|
|
const Bezier3 & |
value |
|
) |
| |
|
friend |
◆ operator>>
template<class CharType >
std::basic_istream<CharType>& operator>> |
( |
std::basic_istream< CharType > & |
input, |
|
|
Bezier3 & |
value |
|
) |
| |
|
friend |
◆ p0
◆ p1
◆ p2
◆ p3
The documentation for this struct was generated from the following file: