Class PoCircle3CenterRadius

  • All Implemented Interfaces:
    SafeDisposable

    public class PoCircle3CenterRadius
    extends PoCircle3
    Class to build a 3D circle. The circle is given by its center, its radius and a normal vector to the circle plane.

    File format/default:

    PoCircle3CenterRadius {

      center 0 0 0
      radius 1
      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="Heading427">CATALOG PARTS</A></h4> <ul><b>PoCircle3CenterRadius</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>circle3 </tt>(from PoCircle3)</ul></ul></ul> <ul><ul><ul><i>Contains a SoFaceSet shape to draw the circle.</i></ul></ul></ul> <ul><ul>}</ul></ul> <ul>}</ul> <p> </body> </html>

    • Field Detail

      • center

        public final SoSFVec3f center
        Circle center.
      • radius

        public final SoSFFloat radius
        Circle radius.
      • normal

        public final SoSFVec3f normal
        Normal to the plane of circle.
    • Constructor Detail

      • PoCircle3CenterRadius

        public PoCircle3CenterRadius​(SbVec3f _center,
                                     float _radius,
                                     SbVec3f _normal)
        Constructor.
      • PoCircle3CenterRadius

        public PoCircle3CenterRadius()
        Default constructor.