Open CASCADE Technology  7.2.0
Public Member Functions

Vrml_Sphere Class Reference

defines a Sphere node of VRML specifying geometry shapes. This node represents a sphere. By default , the sphere is centred at (0,0,0) and has a radius of 1. More...

#include <Vrml_Sphere.hxx>

Public Member Functions

 Vrml_Sphere (const Standard_Real aRadius=1)
 
void SetRadius (const Standard_Real aRadius)
 
Standard_Real Radius () const
 
Standard_OStreamPrint (Standard_OStream &anOStream) const
 

Detailed Description

defines a Sphere node of VRML specifying geometry shapes. This node represents a sphere. By default , the sphere is centred at (0,0,0) and has a radius of 1.

Constructor & Destructor Documentation

◆ Vrml_Sphere()

Vrml_Sphere::Vrml_Sphere ( const Standard_Real  aRadius = 1)

Member Function Documentation

◆ Print()

Standard_OStream& Vrml_Sphere::Print ( Standard_OStream anOStream) const

◆ Radius()

Standard_Real Vrml_Sphere::Radius ( ) const

◆ SetRadius()

void Vrml_Sphere::SetRadius ( const Standard_Real  aRadius)

The documentation for this class was generated from the following file: