Class PoBevelEdge

  • All Implemented Interfaces:
    SafeDisposable

    public class PoBevelEdge
    extends PoNode
    Node to define the beveled edge values. This node defines the current values to bevel edges of all subsequent MeshViz representations inhering from PoChart. The way in which edges are beveled is defined by a radius to indicate the size of the bevel and by a bevelAngle to indicate the minimum angle between two adjacent face normals required to bevel the edge common to these two faces.

    File format/default:

    PoBevelEdge {

      on true
      radius 0.05
      radiusFlag PERCENTAGE_RADIUS
      bevelAngle 0.5
    }
    • Field Detail

      • on

        public final SoSFBool on
        Activate/Desactivate bevel attributes.
      • radius

        public final SoSFFloat radius
        Indicates the radius of the bevel.
      • radiusFlag

        public final SoSFEnum<PoBevelEdge.RadiusFlags> radiusFlag
        Defines the interpretation of the field radius. If radiusFlag == ABSOLUTE_RADIUS, the radius value is absolute. If radiusFlag == PERCENTAGE_RADIUS, the field radius is a percentage (0. <= radius <= 1.), the real radius corresponding is max * radius, where max is the maximun length of all the edges of the current shape to be beveled.
      • bevelAngle

        public final SoSFFloat bevelAngle
        Indicates the minimum angle (in radians) between two adjacent face normals required to bevel the edge common to these two faces.
    • Constructor Detail

      • PoBevelEdge

        public PoBevelEdge()
        Constructor.