API Reference > Classes > PRC Curve Classes > OdPrcCurve Class > OdPrcCurve Methods > OdPrcCurve::readPtr Method
OdPrcCurve::readPtr Method
Syntax
C++
static OdPrcCurvePtr readPtr(OdPrcCompressedFiler * pStream);
Parameters 
Description 
OdPrcCompressedFiler * pStream 
[in] A pointer to an input stream (file stream, memory stream) to read from.
 

Returns a smart pointer to an OdPrcCurve object.

Reads curve data from a specified input stream, creates a curve, and returns a smart pointer to an OdPrcCurve object. 

 

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.