DrawPoint3d< T > Struct Template Reference

#include <gfx_basictypes_3d.h>

Detailed Description

template<typename T>
struct maxon::DrawPoint3d< T >

X and Y coordinate of a point used for window/drawing operations.

Public Member Functions

 DrawPoint3d ()
 
 DrawPoint3d (T xValue, T yValue, T zValue)
 
String ToString (const FormatStatement *formatStatement=nullptr) const
 
 MAXON_OPERATOR_EQUALITY_HASHCODE (DrawPoint3d, x, y, z)
 

Static Public Member Functions

static Result< void > DescribeIO (const DataSerializeInterface &stream)
 

Public Attributes

x
 
y
 
z
 

Constructor & Destructor Documentation

◆ DrawPoint3d() [1/2]

◆ DrawPoint3d() [2/2]

DrawPoint3d ( xValue,
yValue,
zValue 
)

Member Function Documentation

◆ ToString()

String ToString ( const FormatStatement formatStatement = nullptr) const

Returns a readable string of the content.

Parameters
[in]formatStatementNullptr or additional formatting instruction. Currently no additional formatting instructions are supported.
Returns
The converted result.

◆ MAXON_OPERATOR_EQUALITY_HASHCODE()

MAXON_OPERATOR_EQUALITY_HASHCODE ( DrawPoint3d< T >  ,
x  ,
y  ,
z   
)

◆ DescribeIO()

static Result<void> DescribeIO ( const DataSerializeInterface stream)
static

Describe all elements of this class for I/O operations.

Parameters
[in]streamThe stream that is used to register the class members.
Returns
OK on success.

Member Data Documentation

◆ x

T x

◆ y

T y

◆ z

T z