Creation of a geometry reference.
More...
Creation of a geometry reference.
- Version
- 6.11.204 exemple of use: // Start selection
if (ref && ref.IsOnGeometry())
{
if (ref.IsOnFace())
{
}
else if (ref.IsOnEdge())
{
let solid = ref.GetGeometry()
solid.ExtractEdge(ref)
}
{
let geom = ref.GetGeometry()
if (geom.IsWireframe())
}
}
Class to manage interactivity with GO2cam.
Definition GO2SInteract.hpp:12
static GO2SReference PickReference(String forcedMessage="")
Point object.
Definition GO2SPoint.hpp:8
Class managing solid (BRep) geometry.
Definition GO2SSolid.hpp:24
GO2SEnum::GO2SError CreateOffsetFace(GO2SFace face, Number len)
◆ GetGeometry()
◆ IsOnEdge()
Boolean GO2SReference::IsOnEdge |
( |
| ) |
|
|
inline |
- Returns
- if the object refers to a solid edge
◆ IsOnFace()
Boolean GO2SReference::IsOnFace |
( |
| ) |
|
|
inline |
- Returns
- if the object refers to a solid face
◆ IsOnGeometry()
Boolean GO2SReference::IsOnGeometry |
( |
| ) |
|
|
inline |