reg:constraintType

An area on the unit sphere defined by the intersection with a plane

Complex Type Information

Model

Used By

Source

<xs:complexType name="constraintType">
  <xs:annotation>
    <xs:documentation>An area on the unit sphere defined by the intersection with a plane</xs:documentation>
  </xs:annotation>
  <xs:sequence>
    <xs:element name="Vector" type="crd:double3Type">
      <xs:annotation>
        <xs:documentation>This needs to be a spherical coordinate vector; it is the unit vector that is normal to the plane that forms a constraint for a convex</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="Offset">
      <xs:annotation>
        <xs:documentation>The distance along the normal vector where the constraint plane intersects that vector; if positive, the spherical sector on the far side (seen from the center) is selected; if negative, the point of intersection is in the opposite direction of the vector, resulting in more than a hemisphere; the valid range is -1.0 to +1.0</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:double">
          <xs:minInclusive value="-1.0"/>
          <xs:maxInclusive value="1.0"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:element>
  </xs:sequence>
</xs:complexType>