Converts the STLColor to an UInt16.

Namespace:  ceometric.ComputationalGeometry
Assembly:  ceometric.ComputationalGeometry (in ceometric.ComputationalGeometry.dll) Version: 2.4.0.0 (2.4.0.0)

Syntax

C#
public byte[] ToBytes(
	BinarySTL..::.ColorEncoding colorEncodingMethod
)
Visual Basic (Declaration)
Public Function ToBytes ( _
	colorEncodingMethod As BinarySTL..::.ColorEncoding _
) As Byte()
Visual C++
public:
array<unsigned char>^ ToBytes(
	BinarySTL..::.ColorEncoding colorEncodingMethod
)

Parameters

colorEncodingMethod
Type: ceometric.ComputationalGeometry..::.BinarySTL..::.ColorEncoding
The color encoding method (R-G-B or B-G-R).

Return Value

An UInt16 encoding the STLColor in binary STL format.

See Also