Class PoCircleArc3CtrPtAngle

  • All Implemented Interfaces:
    SafeDisposable

    public class PoCircleArc3CtrPtAngle
    extends PoCircleArc3
    Class to build a 3D circle arc. The circle arc is defined by its center, a start point , an angle and a normal vector to the circle plane.

    File format/default:

    PoCircleArc3CtrPtAngle {

      arcType OPENED
      center 0 0 0
      startPoint 1 0 0
      angle 2PI
      normal 0 0 1
    }

    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> <html> <head> <link REL="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style"> <title></title> </head> <BODY> <h1></h1> <h4> <A NAME="Heading454">CATALOG PARTS</A></h4> <ul><b>PoCircleArc3CtrPtAngle</b> {</ul> <ul><ul><b>Separator</b> <tt>alternateRep</tt> (from PoBase) {<br> </ul></ul> <ul><ul><ul><b>AppearanceKit</b> <tt>appearance</tt> (from PoBase)</ul></ul></ul> <ul><ul><ul><i>Specifies the appearance of all the kit. By default lightModel.model=BASE_COLOR.</i></ul></ul></ul> <ul><ul><ul><b>MatrixTransform</b> <tt>domainTransform</tt> (from PoBase)</ul></ul></ul> <ul><ul><ul><i>Corresponds to the domain transformation.</i></ul></ul></ul> <ul><ul><ul><ul></ul></ul></ul></ul> <ul><ul><ul><b>Group</b> <tt>circleArc3 </tt>(from PoCircleArc3)</ul></ul></ul> <ul><ul><ul><i>Contains a SoFaceSet shape (arcType = END_CLOSE or arcType = CENTER_CLOSE) or SoLineSet shape (arcType = OPENED) to draw the circle arc.</i></ul></ul></ul> <ul><ul>}</ul></ul> <ul>}</ul> <ul><ul><br> </ul></ul> </body> </html>

    • Field Detail

      • center

        public final SoSFVec3f center
        Circle center. (0,0,0) by default.
      • startPoint

        public final SoSFVec3f startPoint
        Start point of the arc. (1,0,0) by default.
      • angle

        public final SoSFFloat angle
        Arc angle. 2PI by default.
      • normal

        public final SoSFVec3f normal
        Normal to the plane of circle. (0,0,1) by default.
    • Constructor Detail

      • PoCircleArc3CtrPtAngle

        public PoCircleArc3CtrPtAngle​(SbVec3f _center,
                                      SbVec3f _startPoint,
                                      float _angle,
                                      SbVec3f _normal)
        Constructor.
      • PoCircleArc3CtrPtAngle

        public PoCircleArc3CtrPtAngle()
        Default constructor.