API Reference > FacetModeler Namespace > Classes > Sphere Class
Sphere Class
FacetModeler__SphereFacetModeler__SphereFacetModeler__SphereFacetModeler__Sphere
Syntax
C++
class Sphere : public Revolution;

FMMdlSurface.h

Represents facet body spherical objects.

 
Name 
Description 
 
Destructor. 
 
This is the overview for the Entity constructor overload. 
Surface Class
 
Name 
Description 
 
Destructor. 
 
Default constructor. 
Revolution Class
 
Name 
Description 
 
Constructor. Creates a revolution surface with the specified axis of rotation and the start direction vector.
 
Sphere Class
 
Name 
Description 
 
Constructor. Creates a sphere with the specified center point, radius and approximation.
 
Surface Class
 
Name 
Description 
 
Type 
Defines surface object types. 
 
Name 
Description 
 
Gets all flags.
 
 
Checks whether the specified flag is on.
 
 
Sets all flags.
 
 
Sets the specified flag to the specified state.
 
 
Sets the tag to the specified one.
 
 
tag 
Gets an entity tag.
 
Surface Class
 
Name 
Description 
 
Compares surfaces with the specified tolerance.
 
 
copy 
Creates a copy of the surface to the specified body.
 
 
next 
Gets the next surface in the body.
 
 
Gets the normal at the specified vertex on the specified face.
 
 
Sets the pointer to the next item in the list of surfaces.
 
 
Transforms the surface with the given transformation matrix.
 
 
type 
Gets the surface type.
 
Revolution Class
 
Name 
Description 
 
axis 
Gets the axis of the revolution surface.
 
 
Compares surfaces with the specified tolerance.
 
 
Gets the start direction of the revolution surface.
 
 
Transforms the surface with the given transformation matrix.
 
Sphere Class
 
Name 
Description 
 
Gets the approximation.
 
 
Gets the sphere center coordinates.
 
 
Compares surfaces with the specified tolerance.
 
 
copy 
Creates a copy of the surface to the specified body.
 
 
Gets the normal at the specified vertex on the specified face.
 
 
Gets the radius value.
 
 
Transforms the surface with the given transformation matrix.
 
 
type 
Gets the surface type.
 
 
Name 
Description 
 
= 
Assignment operator.
 
Copyright © 2002-2020. Open Design Alliance. All rights reserved.