GO2cam Javascript API  6.11
GO2SFace Class Reference

Class representing a single face of a solid geometry. More...

Inheritance diagram for GO2SFace:
GO2SReference

Public Member Functions

GO2SXYZ GetCenter ()
 
Array< GO2SEdgeGetEdges ()
 
GO2SXYZ GetNormal ()
 
Number GetSurface ()
 
Boolean IsConical ()
 
Boolean IsCylindrical ()
 
Boolean IsPlanar ()
 
Boolean IsSpherical ()
 
Boolean IsTorus ()
 
- Public Member Functions inherited from GO2SReference
GO2SGeometry GetGeometry ()
 
Boolean IsOnEdge ()
 
Boolean IsOnFace ()
 
Boolean IsOnGeometry ()
 

Detailed Description

Class representing a single face of a solid geometry.

Version
6.11.204

Member Function Documentation

◆ GetCenter()

GO2SXYZ GO2SFace::GetCenter ( )
Returns
the center of the face

◆ GetEdges()

Array< GO2SEdge > GO2SFace::GetEdges ( )
Returns
all the edges of the face

◆ GetNormal()

GO2SXYZ GO2SFace::GetNormal ( )
Returns
the normal direction at the center of the face

◆ GetSurface()

Number GO2SFace::GetSurface ( )
Returns
the surface of the edge

◆ IsConical()

Boolean GO2SFace::IsConical ( )
Returns
if the surface is conical

◆ IsCylindrical()

Boolean GO2SFace::IsCylindrical ( )
Returns
if the surface is cylindrical

◆ IsPlanar()

Boolean GO2SFace::IsPlanar ( )
Returns
if the surface is planar

◆ IsSpherical()

Boolean GO2SFace::IsSpherical ( )
Returns
if the surface is spherical

◆ IsTorus()

Boolean GO2SFace::IsTorus ( )
Returns
if the surface is a torus