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 (geom.IsSolid() && ref.IsOnFace())
{
}
else if (geom.IsMesh() && ref.IsOnFace())
{
let dir = ref.GetNormal()
let cen = ref.GetCenter()
}
else if (ref.IsOnEdge())
{
geom.ExtractEdge(ref)
}
else
{
}
}
Class to manage interactivity with GO2cam.
Definition GO2SInteract.hpp:14
static GO2SReference PickReference(String forcedMessage="", GO2SEnum::GO2SPickReference type=GO2SEnum::GO2SPickReference::all)
Point object.
Definition GO2SPoint.hpp:8
GO2SGeometry GetGeometry()
Helper class to create segment.
Definition GO2SSegment.hpp:65
static GO2SSegment FromDirAndLength(GO2SXYZ p1, GO2SXYZ dir, Number length)
See GO2SSegment.SetFromDirAndLength.
Class managing solid (BRep) geometry.
Definition GO2SSolid.hpp:25
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 |