|
| SIV3D_NODISCARD_CXX20 | Triangle ()=default |
| |
| constexpr SIV3D_NODISCARD_CXX20 | Triangle (value_type sides) noexcept |
| |
| SIV3D_NODISCARD_CXX20 | Triangle (value_type sides, value_type angle) noexcept |
| |
| constexpr SIV3D_NODISCARD_CXX20 | Triangle (value_type x, value_type y, value_type sides) noexcept |
| |
| constexpr SIV3D_NODISCARD_CXX20 | Triangle (const position_type &pos, value_type sides) noexcept |
| |
| SIV3D_NODISCARD_CXX20 | Triangle (value_type x, value_type y, value_type sides, value_type angle) noexcept |
| |
| SIV3D_NODISCARD_CXX20 | Triangle (const position_type &pos, value_type sides, value_type angle) noexcept |
| |
| constexpr SIV3D_NODISCARD_CXX20 | Triangle (value_type x0, value_type y0, value_type x1, value_type y1, value_type x2, value_type y2) noexcept |
| |
| constexpr SIV3D_NODISCARD_CXX20 | Triangle (const position_type &_p0, const position_type &_p1, const position_type &_p2) noexcept |
| |
| constexpr Triangle & | set (value_type x0, value_type y0, value_type x1, value_type y1, value_type x2, value_type y2) noexcept |
| |
| constexpr Triangle & | set (const position_type &_p0, const position_type &_p1, const position_type &_p2) noexcept |
| |
| constexpr Triangle & | set (const Triangle &triangle) noexcept |
| |
| constexpr Triangle | movedBy (value_type x, value_type y) const noexcept |
| |
| constexpr Triangle | movedBy (position_type v) const noexcept |
| |
| constexpr Triangle & | moveBy (value_type x, value_type y) noexcept |
| |
| constexpr Triangle & | moveBy (position_type v) noexcept |
| |
| constexpr Triangle & | setCentroid (value_type x, value_type y) noexcept |
| |
| constexpr Triangle & | setCentroid (position_type pos) noexcept |
| |
| constexpr position_type | centroid () const noexcept |
| |
| Triangle | stretched (value_type size) const noexcept |
| |
| Triangle | rotated (value_type angle) const noexcept |
| |
| Triangle | rotatedAt (value_type x, value_type y, value_type angle) const noexcept |
| |
| Triangle | rotatedAt (position_type pos, value_type angle) const noexcept |
| |
| constexpr Triangle | scaled (double s) const noexcept |
| |
| constexpr Triangle | scaled (double sx, double sy) const noexcept |
| |
| constexpr Triangle | scaled (Vec2 s) const noexcept |
| |
| constexpr Triangle & | scale (double s) noexcept |
| |
| constexpr Triangle & | scale (double sx, double sy) noexcept |
| |
| constexpr Triangle & | scale (Vec2 s) noexcept |
| |
| constexpr Triangle | scaledAt (Vec2 pos, double s) const noexcept |
| |
| constexpr Triangle | scaledAt (Vec2 pos, double sx, double sy) const noexcept |
| |
| constexpr Triangle | scaledAt (Vec2 pos, Vec2 s) const noexcept |
| |
| constexpr Triangle & | scaleAt (Vec2 pos, double s) noexcept |
| |
| constexpr Triangle & | scaleAt (Vec2 pos, double sx, double sy) noexcept |
| |
| constexpr Triangle & | scaleAt (Vec2 pos, Vec2 s) noexcept |
| |
| constexpr position_type & | p (size_t index) noexcept |
| |
| constexpr const position_type & | p (size_t index) const noexcept |
| |
| constexpr position_type | point (size_t index) const |
| |
| constexpr Line | side (size_t index) const |
| |
| constexpr value_type | area () const noexcept |
| |
| value_type | perimeter () const noexcept |
| |
| constexpr RectF | boundingRect () const noexcept |
| |
| Circle | getCircumscribedCircle () const noexcept |
| |
| Circle | getInscribedCircle () const noexcept |
| |
| Polygon | calculateBuffer (double distance) const |
| |
| Polygon | calculateRoundBuffer (double distance) const |
| |
| LineString | outline (CloseRing closeRing=CloseRing::No) const |
| |
| LineString | outline (double distanceFromOrigin, double length) const |
| |
| Polygon | asPolygon () const |
| |
| constexpr Triangle | lerp (const Triangle &other, double f) 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 |
| |
| template<class Shape2DType > |
| bool | contains (const Shape2DType &other) const |
| |
| bool | leftClicked () const noexcept |
| | 三角形が現在のフレームで左クリックされ始めたかを返します。 More...
|
| |
| bool | leftPressed () const noexcept |
| | 三角形が左クリックされているかを返します。 More...
|
| |
| bool | leftReleased () const noexcept |
| | 現在のフレームで三角形への左クリックが離されたかを返します。 More...
|
| |
| bool | rightClicked () const noexcept |
| | 三角形が現在のフレームで右クリックされ始めたかを返します。 More...
|
| |
| bool | rightPressed () const noexcept |
| | 三角形が右クリックされているかを返します。 More...
|
| |
| bool | rightReleased () const noexcept |
| | 現在のフレームで三角形への右クリックが離されたかを返します。 More...
|
| |
| bool | mouseOver () const noexcept |
| | 三角形上にマウスカーソルがあるかを返します。 More...
|
| |
| const Triangle & | paint (Image &dst, const Color &color) const |
| |
| const Triangle & | overwrite (Image &dst, const Color &color, Antialiased antialiased=Antialiased::Yes) const |
| |
| const Triangle & | paintFrame (Image &dst, int32 thickness, const Color &color) const |
| |
| const Triangle & | overwriteFrame (Image &dst, int32 thickness, const Color &color, Antialiased antialiased=Antialiased::Yes) const |
| |
| const Triangle & | draw (const ColorF &color=Palette::White) const |
| |
| const Triangle & | draw (const ColorF &color0, const ColorF &color1, const ColorF &color2) const |
| |
| const Triangle & | drawFrame (double thickness=1.0, const ColorF &color=Palette::White) const |
| |
| const Triangle & | drawFrame (double innerThickness, double outerThickness, const ColorF &color=Palette::White) const |
| |