API Reference > OdSi Classes > OdSiShapeRay Structure > OdSiShapeRay Constructor > OdSiShapeRay::OdSiShapeRay Constructor (OdGePoint3d&, OdGeVector3d&)
OdSiShapeRay::OdSiShapeRay Constructor (OdGePoint3d&, OdGeVector3d&)
Syntax
C++
OdSiShapeRay(const OdGePoint3d& pointStart, const OdGeVector3d& vecDir);
Parameters 
Description 
const OdGePoint3d& pointStart 
[in] A 3D point from which the ray is casted.  
const OdGeVector3d& vecDir 
[in] The direction of ray. 

Creates a new instance of a shape ray. 

 

Copyright © 2002–2020. Open Design Alliance. All rights reserved.